469,315 Members | 1,429 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,315 developers. It's quick & easy.

how to make the previous page unavailable to the users

vijcbe
16
Hello friends!!
Hope someone will fix this issue for me..
I am making a web page in PHP, in which users will enter into their login and do manupulations. After they click logout, the go to the logout page. Here, when they click the back button of the browser, they go to the previous page where they enter the data which should not be shown to anyone else. If this is the case, anyone can see the data that are encrypted and stored in the database. So, I just wanna know how to make the previous page unavailable to the user after logout. For example, after logging out from an email. I know that, it should be done with the cookies and sessions, but I dont know the modus operandi to do it. Please someone help me.
Thanks a million in advance,
Regards,
VJ
Oct 14 '07 #1
3 1758
Markus
6,050 Expert 4TB
Hello friends!!
Hope someone will fix this issue for me..
I am making a web page in PHP, in which users will enter into their login and do manupulations. After they click logout, the go to the logout page. Here, when they click the back button of the browser, they go to the previous page where they enter the data which should not be shown to anyone else. If this is the case, anyone can see the data that are encrypted and stored in the database. So, I just wanna know how to make the previous page unavailable to the user after logout. For example, after logging out from an email. I know that, it should be done with the cookies and sessions, but I dont know the modus operandi to do it. Please someone help me.
Thanks a million in advance,
Regards,
VJ
T'is a hard one - for me anyway. From what i've seen when a user clicks the back button that page isn't refreshed it just goes to the state it was in when the user left that page. So considering you've deleted the cookies (or sessions) once the user attempts to do anything with that page it's going to cause the a page to reload and then catch that there isn't any cookies (or sessions).

I suspect one of the 'elders', as i like to call them, may have a fix.

Sorry,
Oct 14 '07 #2
pbmods
5,821 Expert 4TB
Heya, VJ.

This is why a lot of sites say, "For your security, please close your browser window," after you log out. They haven't figured it out, either.

It has to do with the fact that browsers store downloaded data in their cache so that Users CAN use the back and forward buttons without having to send another request to the server.

For more information, check out this article.
Oct 14 '07 #3
Markus
6,050 Expert 4TB
Heya, VJ.

This is why a lot of sites say, "For your security, please close your browser window," after you log out. They haven't figured it out, either.

It has to do with the fact that browsers store downloaded data in their cache so that Users CAN use the back and forward buttons without having to send another request to the server.

For more information, check out this article.
Yeh, what pbmods said.

We <3 you pbmods :D
Oct 14 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

67 posts views Thread by Sandy.Pittendrigh | last post: by
3 posts views Thread by Greg | last post: by
24 posts views Thread by Ian Rastall | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by harlem98 | last post: by
1 post views Thread by Geralt96 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.