API to end a Session ?

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
 
J

Juan T. Llibre

re:
!> In ASP.Net, is there a class/function for ending a session?

Use Session.Abandon
 
?

=?ISO-8859-1?Q?G=F6ran_Andersson?=

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.
 

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

Forum statistics

Threads
473,744
Messages
2,569,480
Members
44,900
Latest member
Nell636132

Latest Threads

Top