session objects

session objects

If an ASP.NET web application creates 1000 session objects during
Page_Load event of the default page and if the session is terminated by closing
the browser, will those thousand session objects relesed from memory immediately?

Ans. No, browser close event dosen't notify the server about "I'm closed, please clear all session"
To notify the server about closing of browser, On close event you need to create Ajax objects
that will notify the application to clear all session related this user cookies.
Sessions objects gets created at server side and its refrences are delivered to browser in terms of cookies.

IRequiresSessionState and sessionSessions In AspnetHow are you using session variables in with C#.netSession Loss In WebgardenSession application Session Session AbandonOLE DB provider SQLNCLI for linked server returned message Cannot start more transactions on this Interview Questions for 2 years or 3 years experianceHow to implement Captcha in


My name is Satalaj, but people call me Sat. Here is my homepage: . I live in Pune, PN and work as a Software Engineer. I'm former MVP in year 2010.
Disclaimer: Views or opinion expressed here are my personal research and it has nothing to do with my employer. You are free to use the code, ideas/hints in your projects. However, you should not copy and paste my original content to other web sites. Feel free to copy or extend the code.
If you want to fight with me, this website is not for you.

I'm Satalaj.