Sir,
This is my session coding.
I have set the expiring of session as 1 minute.
session_start();
echo $sessid;
echo "****************";
echo session_id();
echo " <html> \n";
echo "<head> \n";
echo "</head> \n";
echo "<body> \n";
$sessid = session_id();
session_cache_limiter('private');
$cache_limiter = session_cache_limiter();
session_cache_expire(1);
$cache_expire = session_cache_expire();
echo " <a href=\"http://linuxserver/admin/src/sess/aa.pph?sessid=".$sessid."\">Click</a> \n";
echo "</body> \n";
echo "</html> \n";
?>
But After 1 minute if i refresh the page the page is working fine.But fore me it
should not work it should say "The session expire".
How can i do it.
ArunKumar




Bookmarks