When deploying a web project written in ASP.Net, what happens to user sessions? Do users currently logged in lose their session data?
And moreover, does the Web Application Project in Visual Studio differ from the Web Site Project in this respect?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It depends. If Session state mode is defined as “inproc” it will clear all sessions when updating a dll or changing a config file.
On the other 2 modes you will not lose session values.
WebApplications and WebSites work the same way.
Moe info here: http://msdn.microsoft.com/en-us/library/ms972429.aspx