[horde] Session questions
Daniel A. Ramaley
daniel.ramaley at DRAKE.EDU
Fri Nov 18 12:57:12 PST 2005
Before i begin with questions: I am running Horde on Red Hat Enterprise
Linux 4 with a PostgreSQL database. Possibly relevant software
versions: Apache 2.0.52, PHP 4.3.9, PostgreSQL 7.4.8, Horde 3.0.6.
I've noticed that old sessions (whether they were allowed to expire
from lack of use, or whether the user logged out properly) remain
indefinitely in the horde_sessionhandler table of the database. Should
i worry about cleaning those out on a regular basis?
Is there a configuration option to allow graceful handling of expired
sessions? Right now when a session is left idle until it expires, if
the user then tries to do anything they get a text file containing
"Connection: closed" and several lines are written to the log files.
The user can't even log in to Horde again unless they either restart
their browser or the session entry in the horde_sessionhandler table
is manually removed. Is there a way to simply have Horde redirect users
of expired sessions back to the login page without giving these errors?
The log file messages that are written when a user tries to use an
expired session follow.
In horde.log:
Nov 18 12:41:28 HORDE [error] [imp] Error writing session data [on line 179 of "/var/www/html/horde/lib/Horde/SessionHandler/pgsql.php"]
And in Apache's error_log:
[client 10.11.3.162] PHP Warning: pg_affected_rows(): supplied argument is not a valid PostgreSQL result resource in /var/www/html/horde/lib/Horde/SessionHandler/pgsql.php on line 172, referer: http://sun12.drake.edu/
[client 10.11.3.162] PHP Warning: pg_free_result(): supplied argument is not a valid PostgreSQL result resource in /var/www/html/horde/lib/Horde/SessionHandler/pgsql.php on line 173, referer: http://sun12.drake.edu/
*** glibc detected *** free(): invalid next size (fast): 0x000000552b6dd9c0 ***
[Fri Nov 18 12:41:28 2005] [notice] child pid 10507 exit signal Aborted (6)
[client 10.11.3.162] PHP Warning: pg_affected_rows(): supplied argument is not a valid PostgreSQL result resource in /var/www/html/horde/lib/Horde/SessionHandler/pgsql.php on line 172, referer: http://sun12.drake.edu/
[client 10.11.3.162] PHP Warning: pg_free_result(): supplied argument is not a valid PostgreSQL result resource in /var/www/html/horde/lib/Horde/SessionHandler/pgsql.php on line 173, referer: http://sun12.drake.edu/
*** glibc detected *** corrupted double-linked list: 0x000000552aee1c20 ***
[Fri Nov 18 12:41:49 2005] [notice] child pid 13036 exit signal Aborted (6)
------------------------------------------------------------------------
Dan Ramaley
Network Programmer/Analyst
(515) 271-4540
Dial Center 118, Drake University
More information about the horde
mailing list