I'm finding that my sessions seem to be timing out fairly quickly. For
example, in a little forum I wrote with PHP, people are telling me that if
they type a long message and click Submit, they are taken to the Login page
because their session obviously timed out, and they loose their posts in the
I'm finding that my sessions seem to be timing out fairly quickly. For
example, in a little forum I wrote with PHP, people are telling me
that if
they type a long message and click Submit, they are taken to the Login
page
because their session obviously timed out, and they loose their posts
Did you look in the manual first? Didn't think so.
php.net/session
first search result is http://www.php.net/manual/en/ref.session.php
There are two PHP.ini settings you should look at:
session.gc_probability specifies the probability that the gc (garbage
collection) routine is started on each
3 matches
Mail list logo