Welcome Guest, Not a member yet? Register   Sign In
Login and logout session and cache
#1

[eluser]minerbog[/eluser]
I know this isn't really about CI but its a problem I have come apon today and believe it or not google doesn't have the answer OMG!!

Anyway, when I log out of my app, I kill the session data and the session and redirect to the login page. When you hit the back button a cached version of the page is shown (I'm using FF3.6.8). I've tried all the google answers about
Code:
<meta http-equiv="PRAGMA" content="NO-CACHE">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="CACHE-CONTROL" content="NO-CACHE">

header( 'Expires: Wed, 11 Jan 1984 05:00:00 GMT' );
header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' );
header( 'Cache-Control: no-cache, must-revalidate, max-age=0' );
header( 'Pragma: no-cache' );
etc etc, but nothing seems to work.

However, google have managed to do it? :roll: Anyone know how this is done??

Thanks
Gav.


Messages In This Thread
Login and logout session and cache - by El Forum - 08-19-2010, 09:07 AM
Login and logout session and cache - by El Forum - 08-19-2010, 11:30 AM
Login and logout session and cache - by El Forum - 08-19-2010, 11:50 AM
Login and logout session and cache - by El Forum - 08-19-2010, 01:03 PM
Login and logout session and cache - by El Forum - 08-20-2010, 06:00 AM
Login and logout session and cache - by El Forum - 08-20-2010, 06:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB