I just can't set the session lifetime.
this link doesn't help either
http://www.captain.at/howto-php-sessions.php
somebody help me
Moderator: General Moderators
I use that for my shopping cartStryks wrote:Can I just ask what you need longer sessions for?
From my understanding, that 24 minutes counts down from the last usage of the session. Setting it to longer sounds more like you want to remember logins, which is usually achieved via cookies, not by keeping sessions open.
What are you actually trying to achieve?
Code: Select all
ini_set('session.gc_maxlifetime', 24 * 60);