Web Forms :: Two Applications - How To Share Data

Sep 22, 2010

im about to wirte an app that is an extension from the main application that is hosted on the IIS. My application is going to work as a child app (main app as parent) working in main application pool. User will be redirected from the menu to main app to my website. And here is my problem. I would like to pass informations like user login, login state etc. I cant do it via Query String - that wouldnt be safe. I thought I could pass it via Session state, since the SessionID is the same both sides but I cannot retrives parameters on my website(theyre null).

View 2 Replies


Similar Messages:

Web Forms :: How To Share Master Pages / Ascx Files Across Applications

Nov 11, 2010

We are developing a framework which will be shared accross applications. What is the best way to share master pages, user controls accross applications by preventing other developers to modify the master pages and the user controls ?

Is the following way suitable one ? Embedding masterpages and the user controls in a dll and using VirtualPathProvider to load the master pages and user controls dynamically.

But in this approach developers can not view the design. Is there any other way to convert master pages and user controls to a different format as developers can able to view design?

View 2 Replies

Security :: Share Membership Between 2 Web Applications?

Jan 9, 2010

Is there a way that I can share membership (login, etc.) between two different web applications? I would like to create a smaller debug application to test some stuff in my database.

View 2 Replies

Security :: How To Share Membership For Different Applications

Feb 11, 2011

I recall some way to use a single instance of the the asp.net membership for multiple applications. For example...if I have a main single sign on portal, perhaps I'd like them to have access to Application A, B and F, but not C, D & E. Instead of maintaining different security for each application, can we have a single membership table maintaining all of the enterprise applications? So user 'John Doe' would have a single membership record, but have access to different applications.

View 3 Replies

Can Share HttpRuntime.Cache Between Applications

Aug 15, 2010

I have a website setup like this:

/Web --this is the client facing site /Web/Admin --this is the backend system and is setup as a Virtual Application

I'm using HttpRuntime.Cache for caching calls to the database. What I want to be able to do is clear something that is cached on the /Web site from the /Web/Admin site. It appears though that HttpRuntime.Cache is a single instance per application.

View 2 Replies

Security :: How To Share Membership Between Applications

Jan 27, 2011

I'm looking into building a web application platform which users will log into and be able to access other applications based on permissions. I've set up the membership provider and it is being shared between apps. Here is my problem: If I log into application A, and click on a link that takes me to application B, I have to log in again. Is there any way to share that session between applications so the user can log in once, and not have to do it every time they access a different application?

View 6 Replies

Web Development - Share Information Between Web Applications On The Same IIS

Jul 20, 2010

I have a solution with more than one ASP.NET web-application. Every application has its own virtual directory on the same IIS. One application is calling aspx pages in the other applications. How can I share some information (e.g. user/password) between these applications. Is the only way using querystrings (in this case, I must encrypt the information).

View 2 Replies

Security :: Share Authentication Cookie Between V3.5 And V4.0 Applications

Nov 6, 2010

I have a bunch of applications that currently share the authentication cookie in v3.5.

We're in the process of upgrading to 4.0 and also upgrading the applications as a whole. I have 1 done, and would love to deploy it. However, as soon as I do, I lose my sharing of authentication cookie in that application.

In each web.config, my machine key is declared. I removed the actual keys to protect the innocent. :)

<machineKey validationKey="..." decryptionKey="..." validation="SHA1"/>
<authentication mode="Forms">
<!-- DEV Server -->
<forms enableCrossAppRedirects="true" loginUrl="Logon.aspx" name=".COOKIENAMEHERE" protection="All" path="/" slidingExpiration="true" timeout="1440"/>
</authentication>

View 1 Replies

Web Development - How To Share Application Cache Between Two Applications

Oct 27, 2010

I have one website over at utopiapimp.com. The website is used for a popular web based game. Some company internets don't allow the website to be accessed so I opened up another domain at utopiashrimp.com. Same website but a different iss application. Both have same database backends. They also both sit on the same virtual machine. I put my brand new code on shrimp and solve bugs with that code. I host the solid code on pimp. So I can't just forward the shrimp domain to pimp because I need a test bed.

The problem is that they don't share the same application cache. So my question is, can two websites share the same application cache? I really need to figure this out. I would rather not create a webservice and or a handler that one website needs to hit to change the cache on the other application.

View 2 Replies

How To Share Existing Applications Membership Database With Sharepoint 2010

Mar 5, 2011

I am trying to integrate an existing asp.net application with sharepoint 2010. I would like to be able to have a logged in user on the application access a document library via an Iframe on the sharepoint 2010 site. I want to use FBA on sharepoint. Is it possible to share the membership database from the asp.net application with sharepoint? If not, what would be the best way to accomplish this?

View 1 Replies

How To Share Authentication Context Between A SharePoint 2010 Site And Applications

Aug 13, 2010

Is it possible to share the claims based authentication of a logged in Sharepoint 2010 user with a separate Asp.net application?

The following article describes how it was done using Sharepoint 2007 and forms authentication through forms auth and sharing machine keys etc however I cannot find any information regarding the external application consuming the claims authentication that is now used in Sharepoint 2010?

View 2 Replies

Web Forms :: How To Include Share Icons And Share Options To Site

Jun 10, 2010

I need a code to have the ability to share my news on social networks.My site structure is in Asp.net and vb.net.

View 1 Replies

Social Networking :: Share Images On Facebook Using Share Button

Jun 29, 2013

I am showing thumbnail images in dataList on a page of my website. When i click on any image they open in big size. How i will share(Facebook). that particular big size image. My code is given below:

<script type="text/javascript">
var CurrentPage = 1;
function GetImageIndex(obj) {
while (obj.parentNode.tagName != "TD")
obj = obj.parentNode;
var td = obj.parentNode;

[CODE]..

View 1 Replies

WCF / ASMX :: Building Services To Work With Web Applications And Console Applications?

Jun 7, 2010

I've been worked with web services so far, and I'm interested in expanding my services to console applications as well so I started digging up with WCF but I'm conserned that I won't be able to use the HttpContext collection that I've been used to do with web services one important thing which is to generate a random value from HttpContext.Current.Request.ServerVariables["ALL_HTTP"] that I need to reckon if it's the same or at least near what machine that is calling my service. How can I overcome this problem?

I need to know what machine is calling to count the number of attempts to login into my system for example. So must do it inside of the svc code otherwise if I let the client inform what ip address or what computer he is using, anyone could forge this argument and surpass by another machine. May be I'm approaching this matter wrongly. And I should count the number of attempts per state session, but how is it done?

View 1 Replies

Forms Data Controls :: How To Share Class With Not Enough Memory

Dec 22, 2010

I am getting some memory issues, not entirely sure but does anyone think this could be the issue.On the itemdatabound event the following code runs, and it calls a shared class method Return Image which resizes the original image. Could the coding be the issue for the memory problem. There are about 10 or so items.

If e.Item.ItemType = ListItemType.Item Or e.Item.ItemType = ListItemType.AlternatingItem Then
 
Dim ImgProfile As Image
[code]...

View 1 Replies

File.OpenRead() Accesses File On Share Within Workgroup But Not A Remote Share?

Mar 4, 2011

I have an ASP.NET MVC application that attempts to read a file in using a filestream and File.OpenRead().
When the path to the file is a share on the same workgroup, and I give access to NETWORK SERVICE for the share, this works perfectly as desired.

However, when the path to the share is a UNC path to a remote share within the LAN, with read permissions open for "Everyone", the "File.OpenRead()" method throws an exception saying "Could not find a part of the path".

In my test cases I'm debugging locally with the ASP.NET MVC app being given a UNC path to the computer that it's actually running on. It's a share on my C drive, being "Shared" with permissions to "Everyone" for read access.

Is there something in IIS that needs to be configured? If I try to impersonate, in this context, the impersonation doesn't matter because NETWORK SERVICE was the user trying to access the files when it worked for a share in the same workgroup.

View 2 Replies

Web Forms :: Can Data Transfer Between 2 Web Applications

Sep 10, 2010

how can data be transfered between 2 web applications runnig on 2 web servers

View 4 Replies

Web Forms :: Passing Data Between 2 Web Applications?

Jan 31, 2011

I would like to implement the following functionality between 2 web applications:

a) Web application one contains a button, which, when pressed launches another web application.


b) The second application contains a form that is filled in by the customer.

c) After filling in the form, the second application validates the information and returns a 5 digit code to indicate whether validation was successful.

d) Web application one then displays the status and asks the user to continue with other steps.

Is the above scenario possible? Is it possible to transfer data between 2 seperate web applications? I have considered using a query string, database and flat file to trasnfer the data from one application to another. Which of these (if any) would be the best choice?

View 2 Replies

Web Forms :: Passing Encrypted Data Between Two Applications

Jan 25, 2011

I need to design two apps who can interact with each other. The first app, App A needs to send an encrypted string over to App B and App B will have to decrypt it and do some stuff. How would I go about that?

App A - http://MachineA/default.aspx
App B - http://MachineB/default.aspx

I tried encrypting the data using AESCryptoServiceProvider and it returns a byte[]. Now how would I transfer it over to another application? Via query strings?

http://MachineB/default.aspx?data=<<EncryptedString>>

Query strings does not take a byte[] parameter. So I am clueless now.

View 2 Replies

Forms Data Controls :: Developing Oop Php Applications?

May 8, 2010

What does return the Eval() method in Markup portion?

View 1 Replies

Configuration :: Deploying Web Applications With Sub Web Applications?

Apr 22, 2010

Our corporate intranet is designed so that each web application is a child application in the primary application.. Everything has worked fine with Visual Studio 2008 and even in 2010 running the website locally works great, the output directory for the child apps is ..in and the ProjectName.dll copies to that directory.. When I do a publish however it does not and I have to manually copy the dll from the bin folder in the project folder to the parent bin folder, this isn't hard of course but more of a pain in the butt each time I need to publish something. I made sure the output directory is correct for both debug and release yet on publish is just copies it to the child bin and not the parent bin as needed.

View 2 Replies

Forms Data Controls :: Click Gridview Hyperlink To Download File That Is Saved In Share Folder?

Dec 1, 2010

I have a gridview with hyperlink button in every row. Gridview is bind with some datasource.

Just what i want to do that when user click on hyperlink on particular row hyperlink button it should download a file.

The files are going to be saved daily in a share folder.

Secondly, I don't want to give user an option to open that file, means when user clicks hyperlink a dialog box should appear with open button.

how to find particular file as per date from share folder and download.

View 40 Replies

How To Share Data Between Threads

Nov 1, 2010

In the main thread I open a new thread that gets the number of new messages of user (takes about 5 secs) and this second thread should save the number in some place.

In the main thread I should check the "some place" and if the value exists I display it on the page.

Where can I save the value from the second thread to read it from the main one? This value is unique per user so I can't use static field.

View 3 Replies

Forms Data Controls :: Gridview Applications Work Fine On Different Pages

Apr 1, 2010

Long story short: I'm basically trying to learn visual web developer/asp.net/and how to get all this to work on a shared hosting environment. The idea is to eventually develop this into something a friend of mine with a garage can use to allow his customers to check their various maintenance records. I basically made a small database with a couple of test tables in it and a gridview to display data based on a variable passed from a text box. I finally got it working on my shared hosting server with just one such 'application', but when I tried to add a second one, both stop working. If I put one in default.aspx, and the other in default1.aspx, they both work perfectly. I've tried using the same dataset for both, and different datasets for each, and same behavior. Also tried using 1 and 2 objectdatasources with the same results. Also tried putting each in their own content placeholders and no change. From my research into the subject, I've come to the conclusion that more than one gridview isn't the problem, so I'm extra stumped now. I'm guessing it's something relatively simple for someone who knows this stuff. Oh, I thought it may have something to do with not using default values, so the 'tables' weren't being drawn, so there wasn't 'room' to do so, but after splitting the apps into two different divs, and floating one bottom/right, again, no change.[URL](first working example)[URL](second working example)[URL](both in same page, not working - might not be up yet if someone reads this quickly)

View 3 Replies

Data Controls :: Share Data Between Multiple Action Methods Inside A Controller

Mar 17, 2014

I have one controller with 4 to 5 action method. In all action method i have to check some feilds from database. So to reduce the database query i want to save this data one time and then want to use that in all action method. I know about tempdata and view bag but none of this can use in different action method, so how to achive this.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved