onclose problem

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
 
G

Guest

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
 
M

Mark Rae [MVP]

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...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,187
Latest member
RosaDemko

Latest Threads

Top