c# - Prevent session end when webroot changes -


our intranet has custom membership system (not asp membership) puts values in session information identify users. intranet evolving, have publish changes live server several times every day. each time do, users logged in's sessions end , have log in again. causes various issues won't bore here.

my question - there anyway prevent this, or have live it? have spent last 3 hours goggling , can find no solution.

thanks in advance.

the solution use different session mode; using "inproc", means session stored in same application space application. can use "stateserver" or "sqlserver", these require application changes (and additional setup; stateserver require separate service running on iis server , sqlserver require database store information in). store in session need serializable.

here information on msdn regarding session mode.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -