Go Back   Velocity Reviews > Newsgroups > ASP Net
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

ASP Net - share session state between two application

 
Thread Tools Search this Thread
Old 06-23-2005, 08:47 PM   #1
Default share session state between two application


Hello,

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

Thanks a lot.

Charlie




CharlieHoo
  Reply With Quote
Old 06-23-2005, 09:09 PM   #2
Mythran
 
Posts: n/a
Default Re: share session state between two application


"CharlieHoo" <> wrote in message
news:...
> 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

  Reply With Quote
Old 06-24-2005, 12:36 AM   #3
Robbe Morris [C# MVP]
 
Posts: n/a
Default ScaleOut StateServer supports this

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" <> wrote in message
news:...
> Hello,
>
> How to share session state between two or more ASP.NET applications in the
> same server or different ones?
>
> Thanks a lot.
>
> Charlie
>



  Reply With Quote
Old 06-24-2005, 01:44 AM   #4
Steven Cheng[MSFT]
 
Posts: n/a
Default Re: share session state between two application

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.)

  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump