|
 |
asp_web_howto thread: session
Message #1 by =?iso-8859-1?q?Himanshu=20Chaudhari?= <himanshuchaudhari@y...> on Sat, 8 Dec 2001 12:32:13 +0000 (GMT)
|
|
I am using session in one of my programs . but if I
close my window without destroying session variables
then again it showingpage for the previous user.
how to prevent that.
Himanshu
________________________________________________________________________
For Stock Quotes, Finance News, Insurance, Tax Planners, Mutual Funds...
Visit http://in.finance.yahoo.com/
Message #2 by "Jason Salas" <jason@k...> on Sun, 9 Dec 2001 11:53:12 +1000
|
|
The best way would be to include a link on the page that said "Log out", and
use Session.Abandon somewhere at the end of your script to end the session.
<%
Response.Write(<a href=""logoutpage.asp"">Log out</a>)
%>
...and then on logout.asp (the log out page) have an ASP script read in
part:
<%
Session.Abandon
%>
HTH,
Jason
----- Original Message -----
From: "Himanshu Chaudhari" <himanshuchaudhari@y...>
To: "ASP Web HowTo" <asp_web_howto@p...>
Sent: Saturday, December 08, 2001 10:32 PM
Subject: [asp_web_howto] session
> I am using session in one of my programs . but if I
> close my window without destroying session variables
> then again it showingpage for the previous user.
>
> how to prevent that.
>
> Himanshu
>
> ________________________________________________________________________
> For Stock Quotes, Finance News, Insurance, Tax Planners, Mutual Funds...
> Visit http://in.finance.yahoo.com/
>
$subst('Email.Unsub').
>
|
|
 |