Thursday, 15 January 2015

php - I want to keep session alive for 10 min. and then unset or destroy it -



php - I want to keep session alive for 10 min. and then unset or destroy it -

if person idles 10 minutes want page expired -> user has login 1 time again continue.

ini_set("session.gc_maxlifetime","600"); session_start();

php session-timeout

No comments:

Post a Comment