Copy link to clipboard
Copied
Hi all,
I've just created a simple log in/log out system using Dreamweaver's user authentication code. Each page is access protected. When I log out and click the back button it displays the content that should not be accessed.
I've searched high and low over forums and there is just no answer out there that seems to work (But, for example, how do Facebook do it?!)
If you need to see my code then just let me know.
Cheers
Tom
Copy link to clipboard
Copied
I've searched high and low over forums and there is just no answer out there that seems to work (But, for example, how do Facebook do it?!)
Most of these programs do not use the built-in code that you find in DW. While it is good for a starting point it does lack certain functionality. What is happening when you click back is that the user is seeing what was cached. It should not be showing new content, if it is showing new content that that means that the cookie and/or session is not being terminated properly. And that file that the user was on in the restricted area should be checking for that cookie and/or session on each page load to prevent bad requests from getting through.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now