"fixed possible dublicated session-id of our own session-id creation function, by using the php one"

This commit is contained in:
Ralf Becker 2007-05-23 18:04:05 +00:00
parent 497cabb832
commit 755261fe6a

View File

@ -68,13 +68,12 @@
/** /**
* Create a new session id, called by session::create() * Create a new session id, called by session::create()
* *
* Reimplemented to tell the php-sessions to use the id * Reimplemented to use php session-id
* *
* @return string a new session id * @return string a new session id
*/ */
function new_session_id() function new_session_id()
{ {
session_id(parent::new_session_id());
session_start(); session_start();
return session_id(); return session_id();