thefollower Posted December 25, 2007 Share Posted December 25, 2007 Ok firstly how do sites use "log out due to inactivity" is this from sessions of some kind? How does it work ? Also how do you stop members being on the same site but like logged in on internet explorer AND a different browser at the same time ? And when they do it.. auto log them out ? Quote Link to comment https://forums.phpfreaks.com/topic/83161-solved-two-questions-about-sessions/ Share on other sites More sharing options...
revraz Posted December 25, 2007 Share Posted December 25, 2007 1. Sessions have a timeout setting in the php.ini. When this timeout has been reached, the session has expired. 2. You really can't unless you track their login activity and if they try to log in a 2nd time, dont let them. Quote Link to comment https://forums.phpfreaks.com/topic/83161-solved-two-questions-about-sessions/#findComment-423000 Share on other sites More sharing options...
thefollower Posted December 25, 2007 Author Share Posted December 25, 2007 1. Sessions have a timeout setting in the php.ini. When this timeout has been reached, the session has expired. 2. You really can't unless you track their login activity and if they try to log in a 2nd time, dont let them. With response to 1: Can the time be changed at all ? Quote Link to comment https://forums.phpfreaks.com/topic/83161-solved-two-questions-about-sessions/#findComment-423001 Share on other sites More sharing options...
revraz Posted December 25, 2007 Share Posted December 25, 2007 In the php.ini Quote Link to comment https://forums.phpfreaks.com/topic/83161-solved-two-questions-about-sessions/#findComment-423004 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.