php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34556 Session_id has only 26 characters
Submitted: 2005-09-20 08:38 UTC Modified: 2005-09-28 01:00 UTC
Votes:9
Avg. Score:3.1 ± 1.0
Reproduced:4 of 4 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (25.0%)
From: php at grossherzog dot de Assigned:
Status: No Feedback Package: Session related
PHP Version: 5.0.5 OS: Suse Linux 9.3
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2005-09-20 08:38 UTC] php at grossherzog dot de
Description:
------------
When I start a session,
it creates a session_id with 26 characters.

Is this a bug?
This shouldn't happen.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-09-20 09:19 UTC] tony2001@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.



 [2005-09-28 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2009-02-04 18:30 UTC] yesmarklapointe at hotmail dot com
I am experiencing this too, on a WAMP install. PHP version is 5.2.6. Here is a sample of the session ID, it has 26 characters and the full alphabet is used: 92hj7ncq31s27jg27o5tv90gm0 (notice only small letters).  I think the explanation is that if you look at phpinfo to inspect the php.ini settings, session.hash_bits_per_character is set to 5 rather than the default of 4. See the explanation in php.ini.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 16:01:29 2024 UTC