Jump to content

[SOLVED] Two Questions about Sessions


thefollower

Recommended Posts

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 ?

Link to comment
https://forums.phpfreaks.com/topic/83161-solved-two-questions-about-sessions/
Share on other sites

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.

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 ?

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.