[cvs] commit: framework/SessionHandler/SessionHandler pgsql.php

Chuck Hagenbuch chuck at horde.org
Wed Oct 12 10:53:02 PDT 2005


chuck       2005-10-12 10:53:02 PDT

  Modified files:
    SessionHandler/SessionHandler pgsql.php 
  Log:
  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.
  
  Revision  Changes    Path
  1.25      +74 -47    framework/SessionHandler/SessionHandler/pgsql.php

  Chora Links:
  http://cvs.horde.org/diff.php/framework/SessionHandler/SessionHandler/pgsql.php?r1=1.24&r2=1.25&ty=u


More information about the cvs mailing list