By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,812 Members | 1,288 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,812 IT Pros & Developers. It's quick & easy.

share session state between two application

P: n/a
Hello,

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

Thanks a lot.

Charlie
Nov 19 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a

"CharlieHoo" <ch********@online.nospam> wrote in message
news:uj**************@TK2MSFTNGP10.phx.gbl...
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

Nov 19 '05 #2

P: n/a
read more:

http://www.eggheadcafe.com/articles/scaleout_server.asp

--
2004 and 2005 Microsoft MVP C#
Robbe Morris
http://www.masterado.net

Earn $$$ money answering .NET Framework
messageboard posts at EggHeadCafe.com.
http://www.eggheadcafe.com/forums/merit.asp

"CharlieHoo" <ch********@online.nospam> wrote in message
news:uj**************@TK2MSFTNGP10.phx.gbl...
Hello,

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

Thanks a lot.

Charlie

Nov 19 '05 #3

P: n/a
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...spnet.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.)

Nov 19 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.