php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22484 session_start The session id contains illegal characters
Submitted: 2003-02-28 19:40 UTC Modified: 2003-03-09 19:21 UTC
Votes:15
Avg. Score:4.5 ± 0.6
Reproduced:13 of 13 (100.0%)
Same Version:7 (53.8%)
Same OS:5 (38.5%)
From: jstanley at cenicola-helvin dot com Assigned:
Status: No Feedback Package: Session related
PHP Version: 4.3.1 OS: Redhat 7.3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jstanley at cenicola-helvin dot com
New email:
PHP Version: OS:

 

 [2003-02-28 19:40 UTC] jstanley at cenicola-helvin dot com
Redhat 7.3 w/ openssl 9.7a Apache 1.3.27

 './configure' '--enable-pic' '--enable-shared' '--with-mysql=/usr/local/mysql' '--with-apache=../apache' '--with-exec-dir=/usr/bin' '--with-gettext' '--with-gd' '--with-freetype-dir=/usr' '--with-jpeg-dir' '--with-png-dir' '--with-pdflib=/usr/local' '--with-zlib' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-yp' '--enable-ftp' '--with-sybase=/usr/local/freetds' '--with-db' '--with-gdbm' '--enable-wddx' '--without-oracle' '--without-oci8' '--with-xml' '--with-mhash=/usr/local' '--disable-short-tags'

I receive this error sporadically while using a site which worked perfectly up until 4.3.1

If I reload the page the page executes properly.

Warning : session_start() [ function.session-start ]: The session id contains illegal characters, valid characters are only a-z, A-Z and 0-9 in /home/server/bv-bin/include/initialize_session.bv on line 45

Warning : session_start() [ function.session-start ]: Cannot send session cache limiter - headers already sent (output started at /home/server/bv-bin/include/initialize_session.bv:45) in /home/server/bv-bin/include/initialize_session.bv on line 45

Warning : Cannot modify header information - headers already sent by (output started at /home/server/bv-bin/include/initialize_session.bv:45) in /home/server/bv-bin/include/initialize_session.bv on line 1148

Warning : Unknown(): The session id contains illegal 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-03-09 19:21 UTC] sniper@php.net
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.


 [2009-10-20 04:42 UTC] srinivasmca1982 at gmail dot com
I am facing the same problem of session_start The session id contains illegal characters. This is due to invalid characters in session_id. Session id is generated randomly. Please let me know PHPSESSID is contains invalid characters.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 19:01:29 2024 UTC