[Phplib-users] ->id() vs ->id
Brought to you by:
nhruby,
richardarcher
From: Mike G. <mi...@op...> - 2003-05-22 19:37:39
|
Hello, I'm not certain if this is a phplib issue or not, but somewhere along the line storing variables into the session and reporting the session id got messed up. About six weeks ago I noticed that the sessionID wasn't appearing in the test.php script that we set up. I changed: Session ID: <?php echo $sess->id ?> to Session ID: <?php echo $sess->id(); ?> and voila. The sessionID started printing again nicely. What I didn't notice until today was that this stopped variables from being saved into the sessions. Now looking in the code, it seems like the function id() is identified here: phplib/php/session4.inc Where it seems that $id is used here phplib/php/session.inc So, I'm looking for some tips here to try to track down why $sess->id() is stopping sessions from being saved in one instance and why $sess->id doesn't produce a value.. $sess is defined by phpSlash's slashSess.class: $sess = pslNew("slashSess"); Any tips would be appreciated. Mike -- Mike Gifford, OpenConcept Consulting Free Software for Social Change -> http://www.openconcept.ca Featured Client: CUPE National -> http://www.cupe.ca Whoever controls the media-the images-controls the culture - A. Ginsberg |