dildolito Posted October 9, 2006 Share Posted October 9, 2006 i am using session_cache_limiter('private') in order for the "back" button to work.HoweverI have been trying to get the following effect:if clicking on the 'back' button after logging off (session_destroy + session_unset)i dont want the user to get the cached page...is it possible?ThanksOwen Quote Link to comment https://forums.phpfreaks.com/topic/23455-session-question/ Share on other sites More sharing options...
akrytus Posted October 9, 2006 Share Posted October 9, 2006 Why not after ending the session you just refresh the page to where you want them to go using a meta tag? Quote Link to comment https://forums.phpfreaks.com/topic/23455-session-question/#findComment-106410 Share on other sites More sharing options...
Daniel0 Posted October 9, 2006 Share Posted October 9, 2006 Do you run that code when defining the session variable or at every page load? Quote Link to comment https://forums.phpfreaks.com/topic/23455-session-question/#findComment-106411 Share on other sites More sharing options...
dildolito Posted October 9, 2006 Author Share Posted October 9, 2006 akrytus - if i refresh the page to were i want the user to go and instead of using the "back" button he will put the last page's url, then the cached paged will show again. am i right?danilo - every page load had the session_cache_limiter. the logg-off code is in the log-off.php Quote Link to comment https://forums.phpfreaks.com/topic/23455-session-question/#findComment-106420 Share on other sites More sharing options...
Daniel0 Posted October 9, 2006 Share Posted October 9, 2006 Try [tt]session_cache_limiter('none')[/tt] or [tt]session_cache_limiter('nocache')[/tt] on log-off.php Quote Link to comment https://forums.phpfreaks.com/topic/23455-session-question/#findComment-106422 Share on other sites More sharing options...
dildolito Posted October 9, 2006 Author Share Posted October 9, 2006 the session_cache_limiter is per page. Putting it in the log-off.php will achieves nothing since the last page has been cached already Quote Link to comment https://forums.phpfreaks.com/topic/23455-session-question/#findComment-106430 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.