if i use some lacks of sessions what will happen in asp.net
if i use some lacks of sessions what will happen in asp.net
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sandeep Singh ShekhawatPosted Oct 12, 2012, 7:46 AM
There are four mode of Session:
InProc
StateServer
SqlServer
Custom
InCase of InProc your session stores in web server so performance will be decrease when lacks of session
StateServer in this windows service will store session but all session need serlization and deselization so this process will take time and application gives output slowly.
When you use Sql Server same thing here need serilzation and deserilaztion of an object and will store in database so database size will increase and application run slowly and sometime you will get timeout error.
Finally I will suggest If you 2-3 hrs then you should read this article to clear your doubts on session:
http://www.codeproject.com/Articles/32545/Exploring-Session-in-ASP-Net
Thanks
Sandeep
Marish BalasubramanianPosted Oct 12, 2012, 6:09 AM