Follow Me:

Saturday, 10 January 2015

How to resolved when Logged out sessions get restored by back button?

When we log out the sessions , We clear the cookies in browser. But when we press the back button after logging out the session gets restored. 

 header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1
 header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); // Date in the past

Categories: ,


  1. Thanks for posting this useful content, Good to know about new things here, Let me share this, . Hadoop training in pune

  2. Interesting post! This is really helpful for me. I like it! Thanks for sharing!

    Webseiten Gestaltung L├╝denscheid