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, 09: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, 10: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



Mythran
  Reply With Quote
Old 06-24-2005, 01: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
>





Robbe Morris [C# MVP]
  Reply With Quote
Old 06-24-2005, 02: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.)



Steven Cheng[MSFT]
  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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[newbie] Session state can only be used when enableSessionState is set to true jon80 Software 0 03-08-2009 05:40 PM
How to open Web Application pages (ASPX) in Windows application. arameshmca Software 1 02-07-2008 03:18 AM
Using BRAM in state machines zoki111 Hardware 0 09-18-2007 09:38 AM
Judge: File-swapping tools are legal Citizen Bob DVD Video 140 11-08-2006 06:42 PM
BUSH WILL LIKELY INSTALL A DRAFT Jas DVD Video 165 10-20-2004 09:39 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46