asp.net - Sql SessionState Server and Timeout -


hi there downside using sql server sessionstate server , increasing timeout 2 weeks? goal keep people logged in long possible while keeping webserver memory @ minimum.

i think might have few concepts confused here bit.

sessionstate , "logged in" can mean 2 different things.

sessionstate represents objects/data stored in "session" object within environment. users login typically controlled using asp.net membership system. can have user has persistent login (remember me) session time out after 20 minutes. system still remember them, data "cached" user in session might gone.

more directly question, yes, there numerous issues type of approach sql session state, , depending on size of values put session , traffic more or less extreme.

  • this information still going take memory, hard-disk memory on db side, grows can see performance reductions. session abandonment alone cause massive amounts of data cached.

  • as number of session items grows, performance of session degrade, , load on sql server system more.

  • depending on size of server, , sql server license, , traffic have issues db or hardware limitations storing session long.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -