New Message on dotNET User Group Hyd

How to handle browser closing in asp.net

Reply
  Recommend Message 2 in Discussion
From: commander4u

You can use document.unload event to know whether user is closing the
browser window or not. As far as session expiration is concerned, in
ASP.NET, if you don't specify any expiration time for session, by
default session time out is 20 minutes. That means, if user keeps open
is browser for 20 minutes his session would expire, otherwise whenever
user closes his browser, his session would expire immediately. so, you
need not worry about session expiration when user closes his browser
by pressing ALT + F4 keys.

--
Thanks and Regards,
Commander
visit my blog at : http://dotnetcapsule.blogspot.com

On 5/5/05, Beemreddy <[EMAIL PROTECTED]> wrote:
> -----------------------------------------------------------
>
> New Message on dotNET User Group Hyd
>
> -----------------------------------------------------------
> From: Beemreddy
> Message 1 in Discussion
>
> Hello All, I have a problem with sessions. If I close my browser with close button of the browser or Alt+F4, My session should expire. How can I handle the browser close event in _javascript_ and ASP.Net. Cheers, Raghuram
>
> -----------------------------------------------------------
>
> To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings.
> http://groups.msn.com/dotnetusergrouphyd/_emailsettings.msnw
>
> Need help? If you've forgotten your password, please go to Passport Member Services.
> http://groups.msn.com/_passportredir.msnw?ppmprop=help
>
> For other questions or feedback, go to our Contact Us page.
> http://groups.msn.com/contact
>
> If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list.
> mailto:[EMAIL PROTECTED]
>

View other groups in this category.

Click Here
Also on MSN:
Start Chatting | Listen to Music | House & Home | Try Online Dating | Daily Horoscopes

To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings.

Need help? If you've forgotten your password, please go to Passport Member Services.
For other questions or feedback, go to our Contact Us page.

If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list.
Remove my e-mail address from dotNET User Group Hyd.

Reply via email to