If a user is working in my webapplication and all of a sudden if he visits some other site in the same browser by typing the url(which is not part of my application) in the address bar ........
i want to get to know when the user does that ......because when the user goes out of my appl , i want my server to be notified immediately
how can i achieve that ?? may be i can do something on onUnload , but how to get to know the new url the user has typed
The onunload event fires for the back button, closing the browser, typing the url, refreshing the page, and normal page navigation. You really just need to deal with the users session tming out on the server.
Thanks eric ...its sad that i cant catch that event .because i cant rely till the session time out becasue that user blocks the other users for resources
Anyways thanks do let me know if u have some idea ....okay even if its specific to IE because IE is the only browser my application supports
The human mind is a dangerous plaything. This tiny ad is pretty safe:
a bit of art, as a gift, that will fit in a stocking