Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 9th, 2006, 05:00 AM
Authorized User
 
Join Date: Feb 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Handle Sessin in browser cross button click

any one know how i kill session on browser cross button click.When i click IE right side cross button it kill session Session["ID"]=NULL
.any one have answer then please help me.
thanks

 
Old February 9th, 2006, 10:28 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,101
Thanks: 0
Thanked 2 Times in 2 Posts
Default

I think your asking if there's a way to end a session on a server when the web browser is closed.

By using a cookie that doesn't survive the browser close- the re-opening of the browser won't let you in the session.

However, there's no way to get the browser closing to send out a message to the server to end the session.

Hal Levy
Please do your own homework.
I am here to help you, not do it for you.
I do not have sample code for anything





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to handle browser back button? sachin JSP Basics 1 September 24th, 2008 06:46 AM
button click in modaldialog opens another browser sasidhar79 ASP.NET 2.0 Basics 9 January 24th, 2008 03:59 AM
Cross browser compatibility hussainm BOOK: Professional Ajax ISBN: 978-0-471-77778-6 3 December 4th, 2006 07:34 AM
how to handle click event for TextBox gagansharma7 General .NET 4 June 26th, 2006 01:18 PM
Mark a point in Image and handle click event on it savan_thakkar ASP.NET 1.0 and 1.1 Professional 3 June 9th, 2006 02:56 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.