[Tickets #2749] bugfix (and whitespace fixes) for lib/Horde/SessionHandler/pgsql.php

bugs@bugs.horde.org bugs at bugs.horde.org
Sun Oct 9 15:21:38 PDT 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=2749
-----------------------------------------------------------------------
 Ticket             | 2749
 Updated By         | cbs at cts.ucla.edu
 Summary            | bugfix (and whitespace fixes) for lib/Horde/SessionHandler/pgsql.php
 Queue              | Horde Framework Packages
 Version            | FRAMEWORK_3
 State              | Assigned
 Priority           | 2. Medium
 Type               | Bug
 Owners             | Horde Developers, Chuck Hagenbuch
+New Attachment     | pgsql.php.diff
-----------------------------------------------------------------------


cbs at cts.ucla.edu (2005-10-09 15:21) wrote:

I have a better patch that more closely approximates what mysql.php is
doing.

This patch modified read() to only do a SELECT FOR UPDATE on the session id.
 If the row exists, this will lock it for the duration of the transaction.

It changes write() to do a SELECT on the session id to determine if there
are any rows with that id.  If there aren't any, it does an INSERT.  If
there is a row it does an UPDATE.  This is more closely akin to the MySQL
REPLACE INTO from mysql.php.

I am now able to authenticate and get a session.  Turba, Gollem, Kronolith,
and Nag are all functioning normally as far as I can tell.

I am having problems with Imp -- trying to select a message or change
folders (anything that involves imp/message.php, imp/mailbox.php,
imp/search.php) returns me to imp/mailbox.php?mailbox=INBOX&actionID=login




More information about the bugs mailing list