Re: Re: [RFC Discussion] Precise Session Management

From: Date: Wed, 27 Jan 2016 00:16:07 +0000
Subject: Re: Re: [RFC Discussion] Precise Session Management
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-90950@lists.php.net to get a copy of this message
Hi! >> About, since session_id() is a user function, what do we gain by >> limiting what it does? > > Prefix is a part of session ID and it should have the same requirement > as session ID for security reasons. I'm not sure why you're talking about prefix. I thought that the issue was that user can supply session_id() with the ID that is not good for some reason and you want to filter it on session_id level. Am I wrong? > There is SessionHandler::create_sid(), but there isn't a function that > creates secure session ID. Why not? The ID created now is not secure? Why? I see it uses php_session_create_id(), do you mean this function is insecure too? Why? In any case, if you think it is insecure, why not fix it? -- Stas Malyshev smalyshev@gmail.com

« previous php.internals (#90950) next »