API to end a Session ?

  • Thread starter Thread starter Polaris
  • Start date Start date
P

Polaris

Hi Experts:

In ASP.Net, is there a class/function for ending a session? Will this
function invoke Session_End (in the Global class)?

Thanks in advance!
Polaris
 
Polaris said:
Hi Experts:

In ASP.Net, is there a class/function for ending a session? Will this
function invoke Session_End (in the Global class)?

Use the Session.Abandon to make the session end after the current request.

The call to the method will not invoke Session_End, but it will be
invoked when the session ends.
 
Back
Top