How to share session across multiple application in asp.net?

  • Thread starter Thread starter TaeHo Yoo
  • Start date Start date
T

TaeHo Yoo

Hi all,

I have a solution which contains multiple projects.
Those multiple projects should share the same session. For example,
users login, create the session for users then these session information
should be accessed by multiple projects. How do I archieve this? Any
tutorial out there?

Thanks
 
Session information is normally designed to be shared by the "Same" IIS
application only (including if this application lives on multiple machines
in a web farm) -- but NOT between "multiple applications", e.g. IIS apps
outside the originating IIS application VRoot.

If you truly want some sort of user-specific session object that can be
shared between multiple applications, you will need to either look at or
"roll your own" custom solution.
Hope this helps,
--Peter
 
Back
Top