SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
-
Apr 30, 2005, 04:06 #1
- Join Date
- Apr 2005
- Posts
- 45
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
i have trouble with session tracking (logout)
hello friends
i am now working with a project.my login page and rest of pages are working correctly.
my logout page looks like this:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%
Response.Buffer=True
session.Abandon()
response.Clear()
Response.Redirect("../admin/index.asp")
%>
when i logout it logs out. but when i click back button of browser ,it will take you to previous page.however the links will not work, but i can view the page.
could anybody please tell me how to block this .
ihave also added Response.Expires=-1000 in all the pages
thank you
waiting for any response
-
Apr 30, 2005, 08:37 #2
- Join Date
- Oct 2004
- Location
- Birtley, UK
- Posts
- 2,439
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
This is your cache holding the current page, All you can do is stop the user from using the back button. But to be honest this shouldn't worry you because when the user goes to press a link, the session has died so nothing can be executed.
Gavin
-
Apr 30, 2005, 11:51 #3
- Join Date
- Apr 2005
- Location
- Bangalore, India
- Posts
- 90
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Anish, i used the server side script on my log out page give on this page...try it out..
http://www.4guysfromrolla.com/webtech/111500-1.shtml
this may help..
CaveManDon't ask what your Country can do for you,
Ask what you can do for your Country.
-
May 1, 2005, 21:50 #4
- Join Date
- Apr 2005
- Posts
- 45
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
sir, thank you for the help. i have been looking for a solution for so long.
your code works perfectly.
sir, is there any way to find whether client side downloading is completed or not.
Originally Posted by hombre_de_las_ca
Bookmarks