Jump to content

Automatic Session Timeout Code Problem


p469275

Recommended Posts

Hi friend,

 

   I have a problem many have faced. I like to expire my page after 1 minutes if the user do not do any activity on the page and the user session will be lost automatically.

  How can do this?

  Many have told, change in php.ini session_gc_max_lifetime etc, but I don't want to hardcode in php.ini file.

 

Any coding help will be much appreciated.

Thanks.

Ajoy

Link to comment
https://forums.phpfreaks.com/topic/83214-automatic-session-timeout-code-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.