p469275 Posted December 26, 2007 Share Posted December 26, 2007 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 Quote Link to comment https://forums.phpfreaks.com/topic/83214-automatic-session-timeout-code-problem/ Share on other sites More sharing options...
PHP_PhREEEk Posted December 26, 2007 Share Posted December 26, 2007 Search the tutorials from the front page of PHP Freaks. There's a tutorial on how to do this, hope it's what you're looking for. PhREEEk Quote Link to comment https://forums.phpfreaks.com/topic/83214-automatic-session-timeout-code-problem/#findComment-423317 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.