Page 1 of 1
after logout still can view?
Posted: Fri Jun 24, 2005 4:38 am
by chen
Hello,
Now my problem is,
why after i logout the web page,then i click the back button from the IE still can view my web page.
but when i close the web page and open again it have remind me to login.
and i also clear my session.
Thanks.
Posted: Fri Jun 24, 2005 6:25 am
by Chris Corbyn
You'll need to post your code... we can't read your mind and extract the lines of code you wrote to acheive this magical creation

Posted: Fri Jun 24, 2005 9:44 am
by method_man
maby your session wasnt cleared correctly???
Posted: Sat Jun 25, 2005 1:17 am
by chen
this is ASP code
<%
Response.CacheControl = "no-cache"
Response.AddHeader "Pragma", "no-cache"
Response.Expires = -1
%>
something like this. but i want PHP one
something like clear the pager cache after i logout
and my session all thing is ok
it only is a bug for my program
if the person after logout not close the IE then others people can click BACK BUTTON to view back. if he close it others people cannot do like that if they know the address.
hope somebody know my question

Posted: Sat Jun 25, 2005 9:07 am
by programmermatt
Posted: Tue Jun 28, 2005 4:36 am
by chen
ok, i will back home try it
hope it can be use.
thanks
