php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25405 The session id contains invalid characters
Submitted: 2003-09-06 15:08 UTC Modified: 2003-09-14 19:57 UTC
From: pop501 at hotmail dot com Assigned:
Status: Not a bug Package: Session related
PHP Version: 4.3.3 OS: Redhat Linux 8.0
Private report: No CVE-ID: None
 [2003-09-06 15:08 UTC] pop501 at hotmail dot com
Description:
------------
I get this warning messages time to time, not always.
session_id() returns 1fcf18a0ww.i357bed20a4426e146724

Warning: Unknown(): The session id contains invalid characters, valid characters are only a-z, A-Z and 0-9 in Unknown on line 0

Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-09-06 19:04 UTC] sniper@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.



 [2003-09-11 23:01 UTC] pop501 at hotmail dot com
Code works Ok for 10 days, and suddenly I get this warning messages. I close that session(browser) and restart, no warning message.
Do you think that session id looks correct?
Can apache2's mod_deflate have an effect on this?
 [2003-09-14 19:57 UTC] iliaa@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

Something (possibly mod_deflate) corrupted the session. More then likely some user tried to pass invalid session or some remote proxy corrupted it. PHP's session handler correctly returned an error due to the session containing invalid characters.
 [2004-06-11 18:27 UTC] luke at symbiosys dot biz
I am also getting this and have seen lots of messages from people with the same problem. One person suggested removing real player to fix the problem.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 22:01:28 2024 UTC