[Phplib-trackers] [ phplib-Bugs-450638 ] prob with session.inc/get_id()
Brought to you by:
nhruby,
richardarcher
From: <no...@so...> - 2001-08-13 22:40:20
|
Bugs item #450638, was opened at 2001-08-13 15:40 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=403611&aid=450638&group_id=31885 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Richard Archer (richardarcher) Assigned to: Nobody/Anonymous (nobody) Summary: prob with session.inc/get_id() Initial Comment: This is Nathan's bug report from the NetUSE bugs forum. -- auto_init appears to always be loaded, whether the session is new or not. Fix: if ( "" == $id ) { $newid=true; $id = $this->that->ac_newid(md5(uniqid($this->magic)), $this->name); } else { $this->in = true; } in the get_id() method of the Session class where it is determined that the session is indeed new. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=403611&aid=450638&group_id=31885 |