Monday, December 10, 2007

How to expire the session after particular time in php?

we can  use this method
setcookie("PHPSESSID",$_COOKIE['PHPSESSID'],time()+900);


No comments:

Post a Comment