callshakeel
Programmer
hi,
I'm registering a session for user of mysite, using fuctionsession_destroy();
session_start();
session_register("user");
$user = $username;
but i want that if there is no activity by user for last one hour then automatically destroy his session,
Is there any way to store session for some time,
just like for cookie
I'm registering a session for user of mysite, using fuctionsession_destroy();
session_start();
session_register("user");
$user = $username;
but i want that if there is no activity by user for last one hour then automatically destroy his session,
Is there any way to store session for some time,
just like for cookie