|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22036 session_id invalid
Submitted: 2003-02-03 12:28 UTC Modified: 2003-02-13 19:52 UTC
Avg. Score:4.5 ± 0.8
Reproduced:6 of 6 (100.0%)
Same Version:1 (16.7%)
Same OS:0 (0.0%)
From: kalous at p5d dot cz Assigned:
Status: No Feedback Package: Session related
PHP Version: 4.3.0 OS:
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2003-02-03 12:28 UTC] kalous at p5d dot cz

I would like to subscribe an error, which I've found in PHP. This error occurs under some circumstances when trying to start session. I was trying to browse some web pages, which uses sessions in its PHP scripts and I allways got this error message:

Warning: session_start() [function.session-start
<>]: The session id contains
illegal characters, valid characters are only a-z, A-Z and 0-9 in
d:\web\transfor\transfornet\login.php on line 4

So I have contacted the authors and after all we have found, that the only way to resolve this problem is changing my IP. After contacting my provider and changing my IP it worked...

The error occured while using IP
After it was changed to it is fine now. It seems to me, that session ID is generated using IP address and in some specific circumstances it gives not valid results.


Jiri Kalous, Czech Republic


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-03 12:40 UTC]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at

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-02-13 19:52 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 17 23:01:29 2024 UTC