ID: 45871
Updated by: [email protected]
Reported By: brett at pineconehill dot com
-Status: Open
+Status: Feedback
Bug Type: Session related
Operating System: Debian Etch/Lenny (2 machines)
PHP Version: 5.2.6
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
Previous Comments:
------------------------------------------------------------------------
[2008-08-20 19:46:24] brett at pineconehill dot com
Description:
------------
While debugging session time out issues, I set the
"session.gc_maxlifetime' option in php.ini to 15778463 (6 months) In
doing so, after restarting the server, of course, I was not able to log
on to my test site at all. This was the only setting that was changed.
I lowered the value until I reached a range that would allow logins
again. Lowering the value to 2400000 allowed a log in to occur. It
seems that somewhere around the 2500000 range is when it stopped
permitting logins.
Logins are authenticated via a MySQL database.
It appears as if an unsigned value is accidentally being treated as a
signed one.
Reproduce code:
---------------
session.gc_maxlifetime = 15778463
Expected result:
----------------
Logins would be allowed, and sessions would not expire within 6 months,
as part of session troubleshooting.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45871&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.