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.
Be the first to rate this post
- Currently 0/5 Stars.
- 1
- 2
- 3
- 4
- 5