cemzafer Posted November 22, 2006 Share Posted November 22, 2006 Hi all,I want to limit the session, control the session and warn user to log out first before opening the new session?Any idea would be appreciated, thanks. Link to comment https://forums.phpfreaks.com/topic/28071-session-limit/ Share on other sites More sharing options...
joshi_v Posted November 22, 2006 Share Posted November 22, 2006 For that you have to set a SESSION variable with time limit to expire.once an user logged in to that site you should keep track of time comparision between how much time user spent in site and the maximum time limit to session expire.If the user time is close to maximum time, then you can display a message to user. Link to comment https://forums.phpfreaks.com/topic/28071-session-limit/#findComment-128427 Share on other sites More sharing options...
cemzafer Posted November 22, 2006 Author Share Posted November 22, 2006 if possible, can you give a small example?Thanks. Link to comment https://forums.phpfreaks.com/topic/28071-session-limit/#findComment-128454 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.