onclose problem

  • Thread starter Thread starter marko
  • Start date Start date
M

marko

hi to all
I want to catch onclose time the browser.
onunload or unbeforeunload events uselessness,
maybe with open a another window, but this window catch to popup blocker.
I want to find out a way to do.

Regards
 
Marko,
Your post is really not related to ASP.NET, it is about client-side Browser
behavior, which has nothing to do with .NET, ASP.NET, or C# /VB.NET.

There are only a few such client-script / DOM browser events that you can
catch, and onUnload / onBeforeUnload are the two main ones. Therefore, your
(as you describe "useless") choices are limited. Perhaps if you took the time
to fully explain what your goal is, somebody can recommend a way to do it?
-- Peter
Recursion: see Recursion
site: http://www.eggheadcafe.com
unBlog: http://petesbloggerama.blogspot.com
BlogMetaFinder: http://www.blogmetafinder.com
 
I want to terminate asp.net session on browser close time.
There must be a way to do this.

There isn't... Once the server has sent a response down to the client
browser, it has no further connection with that client browser until /
unless that client browser makes another request.

This is just the way it is because of the disconnected nature of the web...
 
Back
Top