If i use some lacks of sessions what will happen in asp.net
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Marish Balasubramanian59 reputationPosted Oct 12, 2012, 2:09 AM EDT
Sandeep Singh ShekhawatRank #147 · 15.6K reputationPosted Oct 12, 2012, 3:46 AM EDT
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