share session state between two application

C

CharlieHoo

Hello,

How to share session state between two or more ASP.NET applications in the
same server or different ones?

Thanks a lot.

Charlie
 
M

Mythran

CharlieHoo said:
Hello,

How to share session state between two or more ASP.NET applications in the
same server or different ones?

Thanks a lot.

Charlie

Use a database to hold the session information :)

Mythran
 
S

Steven Cheng[MSFT]

Hi CharlieHoo,

As for sharing session between different asp.net web application, current
the ASP.NET didn't provide buildin for this since
each application will has their own isolated session storage so as to
prevent them from being tampered by other apps. If we do need to sharing
them among multi-apps, I think using a custom database to store them as
Mythran has mentioned will be the possible approach. Also, the following
article which discussing on sharing session between asp.net and classic ASP
app just mentioned this means:

#How to Share Session State Between Classic ASP and ASP.NET
http://msdn.microsoft.com/library/en-us/dnaspp/html/converttoaspnet.asp?fram
e=true

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top