Click here to Skip to main content
15,892,809 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

I have 4 web projects in my application. I just wanted to know whether the session of all the projects will remain till the logout or it will be cleared as and when I move out of that particular project.

Please please help me out.:confused:
Posted

No, you would not be able to share Session variables across the projects as each would be running in different appdomain. However, why don't you save the data (required information) in database and then retrieve it.
 
Share this answer
 
The sessions are unique to the connection and website. If you move out of the current website / webapp scope, the session will terminate when you close the browser.

The session can also terminate automatically through inactivity.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900