you can also do this by using the event onbeforeunload of the HTML tag.. but this event i think is only implemented on the IE 6.. this is more usefull if you need to do more especific things when the user close the page.. or you need more control on the log out event. this way you can stop the...
the call on GC only asks GC to run.. it's not sure that the GC will run.. you can't force GC to run... You can point that object is ready for garbage by putting object = null.. the call of system.gc() just tells the GC to run... but that can be now or in the next 10 minutes
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.