[Chameleon-dev] [Bug 1735] New: [Chameleon-Widget]KeepSessionAlive
creates invalid session
bugzilla-daemon at bugzilla.maptools.org
bugzilla-daemon at bugzilla.maptools.org
Tue Jun 12 09:47:51 EDT 2007
http://bugzilla.maptools.org/show_bug.cgi?id=1735
Summary: [Chameleon-Widget]KeepSessionAlive creates invalid
session
Product: Chameleon
Version: 2.4
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Widget
AssignedTo: chameleon-dev at lists.maptools.org
ReportedBy: nsavard at mapgears.com
There are several instances of the following warning, I did 4-5 spotchecks and
in all cases they were calls to KeepSessionAlive.php pointing to a session dir
with a zero-size "session_file":
[06-Jun-2007 13:22:02] PHP Warning: fread() [<a
href='function.fread'>function.fread</a>]: Length parameter must be greater
than 0 in
/path/to/htdocs/common/session/session.php on line
191
I did a test calling KeepSessionAlive.php with an invalid session ID and it
returns the message "Your session is invalid or has expired." in the browser,
but it also creates a dummy session with a zero-size file. That might explain
how those empty sessions end up there. They might be old sessions that have
expired and have been recreated by KeepSessionAlive.php. This needs to be fixed
in Chameleon.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
Please do NOT reply to this email, use the link above instead to
login to bugzilla and submit your comment. Any email reply to this
address will be lost.
More information about the Chameleon-dev
mailing list