Page 1 of 1
page refresh problem while using sessions
Posted: Mon Aug 02, 2004 12:36 am
by bugthefixer
I have used sessions in my site...but while using sessions whenever user clicks on back button of browser..it doesnt display the page rather asks to refresh it..wat could be the possible solution to this so that user dont need to refresh the page..it should not prompt to refresh the page.
Posted: Mon Aug 02, 2004 12:39 am
by kettle_drum
It will only do this if on the page their going back to is sending data to the site and theres no way you can stop it i dont think, just forward the user away from the page where the data was sent to.
Posted: Mon Aug 02, 2004 11:24 pm
by bugthefixer
but there might be some solution to this..I have created a login page and i have used session for that user and if user clicks bak button then session is expired and on refreshing it doesnt recognise the user.
Posted: Thu Aug 19, 2004 9:54 am
by grudz
put this in your header....i saw it somewhere....
Code: Select all
header("Cache-control: private"); // IE 6 Fix.