No One Has the Solution Seems..

  • Thread starter Thread starter .NET Follower
  • Start date Start date
N

.NET Follower

hi,
I had posted a query
Subj:Integrating ASP.NET Web Projects to share session variables

But it seems no one has the answer to the problem
very strange......
 
I do not think you can specfically share a Session but you can share a
cookie across subdomains/folders. This might be able to do what you need it
to do. You would need to give more specific details as to exactly what you
are attempting to accomplish.
 
Hi,

I have solution
in which there are two ASP.NET Web Projects.

i want to share session variables between the two web projects in the same
solution....

anyone....?

actually we cannot share session state between two application in IIS
normally .

but there should be some methods to accomplih this...i guess.
 
Well since you still were unable to give any details to what you "really"
want to do I can only suggest my prior suggestion.
Use A cookie to store a unique session Identifier. If the projects span
multiple domains then you will have to work out authrozing the cookie for
multiple domains. You will also probably need to do your own serialization
and deserialization. Without more specific information though it is
impossible to tell what is really the right solution for this situation
 
This is simply a matter of thinking correctly. You don't want to share
Session variables between applications. A variable is simply a storage
mechanism for data. What you want is to share DATA between applications.
Once you start thinking that way, the possible answers should begin flooding
into your mind (Messaging, Web Services, Remoting, Page request via form
post, query string, etc). As the memory in one app (where Session resides)
is not avaialble to the other, the data must be passed via something else.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
 
Back
Top