Welcome Guest, Not a member yet? Register   Sign In
session destroyed on logout, but back function working?
#1

[eluser]Unknown[/eluser]
I have passed val='logout' when the user presses logout, and in logout controller function isset($_REQUEST['val']) is checked. if val is set then i destroyed the session and redirected to index page. This is working perfectly,
but if i press back button of web browser the user home page is displayed (which will be displayed only when session data is set).
#2

[eluser]Aken[/eluser]
It's because of the browser caching the page. Google this problem, you'll find tons of discussion.
#3

[eluser]InsiteFX[/eluser]
Search for the jQuery history.js plugin




Theme © iAndrew 2016 - Forum software by © MyBB