Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
[HELP] Logout every 1 hour
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Mythic" data-source="post: 427651" data-attributes="member: 79389"><p>if you want to make users logout every 1 hour, you have to set a session lifetime. This is based on your homepage.</p><p>Right ABOVE session_start(); in your core file, add following</p><p>[PHP]// server should keep session data for AT LEAST 1 hour</p><p>ini_set('session.gc_maxlifetime', 3600);</p><p></p><p>// each client should remember their session id for EXACTLY 1 hour</p><p>session_set_cookie_params(3600);[/PHP]</p><p></p><p>Hope its clear. Have a nice day.</p></blockquote><p></p>
[QUOTE="Mythic, post: 427651, member: 79389"] if you want to make users logout every 1 hour, you have to set a session lifetime. This is based on your homepage. Right ABOVE session_start(); in your core file, add following [PHP]// server should keep session data for AT LEAST 1 hour ini_set('session.gc_maxlifetime', 3600); // each client should remember their session id for EXACTLY 1 hour session_set_cookie_params(3600);[/PHP] Hope its clear. Have a nice day. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
[HELP] Logout every 1 hour
Top