Session management

Question posted in Computer Software, Computer\IT Services on 08 2009
Rate question difficulty level 0 Votes

In which ways can the session be managed in an asp.net application?
What are the advantages and disadvantages?

 
 
1 Answer
 
1. In proc - the session will be managed in the memory of the current app domain - this is the fastest way to access server variables but it's lost when the iis restarts or app pool is recycled
2. Out proc


  • State server - a windows service installed with the operating system that manages the state - session can be distributed between servers, better persistence but its a slower solution
  • Sql server - the state is managed in a sql server db - best persistence option, slow in performance too

08/20/2009
 
 
Add an answer*
 
Your name
Email
 
Location: Israel
asp.net session

add a question

arrow_blue


Now hiring!
---------------------------
---------------------------
---------------------------
---------------------------
Mercer 
---------------------------
---------------------------
---------------------------