Re: session.name limitation fix or not fix?
| From: | Stas Malyshev | Date: | Fri, 28 Jun 2013 21:05:37 +0000 |
| Subject: | Re: session.name limitation fix or not fix? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-68010@lists.php.net to get a copy of this message | ||
Hi!
> I was browsing bugs and found old feature request that can be fixed easily.
>
> Request #35703 when session_name("123") consist only digits, should warning
> https://bugs.php.net/bug.php?id=35703&thanks=1
>
> session.name cannot be integer like string, since it will be initialized as
> "long" key hash while session module trying to find as "string" key hash. I
> don't understand why some users are willing to use digits only session
> name, but problem is problem.
Yes, I think we need to generate some message on that, given that such
session name would not actually work properly.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227