Amount of time a player is logged in.

achtrey

New Member
Jul 1, 2012
14
1
Well, basically i need to know where to find where you change the amount of time a player is logged in on my site before you automatically get logged out..

I suppose it has to do with some kind of session timeout? Where you change the amount of time the session is live?

Thanks in advance
 

BatDev

Active Member
Apr 20, 2012
110
25
PHP:
ini_set('session.gc_maxlifetime', time in seconds);
ini_set('session.cookie_lifetime', time in seconds);

is something worth looking at.
 

Users who are viewing this thread

Top