Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Back button displaying 'logged out' page.

Explorer ,
Jun 21, 2011 Jun 21, 2011

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

TOPICS
Server side applications
301
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 21, 2011 Jun 21, 2011
LATEST
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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines