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
 

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

Back
Top