Maybe we don't understand each other.
Catalin Trifu wrote:
Hi,
It does not.
session.gc_maxlifetime states that PHP will consider
that garbage, but it will not inform you it did so,
No it will not inform you and there is no way it can inform you because
the gc does not know how t
Hi,
It does not.
session.gc_maxlifetime states that PHP will consider
that garbage, but it will not inform you it did so, neither does
it terminate the session.
Make an experimet if you want. set the "timeout" 5 minutes,
go for a coffee and come back in 10 minutes. You'll have
Let me corect you.
Catalin Trifu wrote:
Hi,
No, there is not! You have to manage yourself
the timeout, for instance through a timestamp,
which you verify on each request. PHP does not
destry sessions by itself.
Yes, it does, check your session.gc_maxlifetime setting (gc stands for
g
Hi,
No, there is not! You have to manage yourself
the timeout, for instance through a timestamp,
which you verify on each request. PHP does not
destry sessions by itself. It's up to you to manage
the "life" of a session.
if($_SESSION['last_seen'] && ($_SESSION['last_seen'] < time(
4 matches
Mail list logo