Hi
I want to ask for logout when user closes browser .and if user says no then browser should not be closed.I'm able to display alert message for logout but cant stop the explorer from being stopped.
Can anyone help me.
thanx
Closing session is not a problem.but my requirement is tht when user close
the browser i want to ask him for logging out.if he doesn't logout then browser shouldn't be closed.
In short ,before closing the browser i want to put a check on tht event.
apart from javascripts onUnload-event there is nothing you can do. And be grateful for it - imagine websites refusing to be closed until you've looked at their "special offers".
Closing session is not a problem.but my requirement is tht when user close
the browser i want to ask him for logging out.if he doesn't logout then browser shouldn't be closed.
In short ,before closing the browser i want to put a check on tht event.
Oh if this was possible it would make all of our user authentication scripts better