session_cache_expire(1);
$cache_expire = session_cache_expire();
i have set the session exoire to 1 minute .But when i refresh the page the page is not expiring.
I want to make the page expired after i minute how can i do it.
ArunKumar
| SitePoint Sponsor |




session_cache_expire(1);
$cache_expire = session_cache_expire();
i have set the session exoire to 1 minute .But when i refresh the page the page is not expiring.
I want to make the page expired after i minute how can i do it.
ArunKumar




sir,
any solution
ArunKumar


Check that you have put this before session_start();
SpikeZ
Mike Swiffin - Community Team Leader
Only a woman can read between the lines of a one word answer.....
I started out with nothing... and still got most of it left!




session_cache_expire(1);
$cache_expire = session_cache_expire();
session_start();
$newses = session_id();
echo $newses;
echo $sesid;
if($newses != $sesid)
{
echo "Session Expired";
exit;
}
This is my code i am getting the sesid from the previous page.
Here i want to display session expiry afgter 1 minute.
ArunKumar
Bookmarks