Hi, I use sessions and have not had an issue on anything other than this. When i update a form, the data gets recorded in the db but if i refresh using the browser button, i dont see the new data. i have to sign out and when i sign in afresh the updated or new data is visible.
What could be the reason and how do i solve it ?
All my scripts have the foll. in the header :
<?
session_cache_limiter('public');
include ("../include/session.php");
require ("../include/bottom.php");
include ("../include/ticker.php");
if(!isset($_SESSION['userid'])){
echo "<center><font face='Verdana' size='2' color=red>Sorry, Please login and use this page </font></center>";
exit;}
$userid = $_SESSION['userid'];
?>
session.php is simply session_start . I put in the cache limiter because i couldnt get the back button to work - ie the session data would not remain if i used the back button and then came back to the page.