OpenPKG CVS Repository
  http://cvs.openpkg.org/
  ____________________________________________________________________________

  Server: cvs.openpkg.org                  Name:   Thomas Lotterer
  Root:   /v/openpkg/cvs                   Email:  [EMAIL PROTECTED]
  Module: openpkg-registry                 Date:   27-Nov-2005 00:34:12
  Branch: HEAD                             Handle: 2005112623341200

  Modified files:
    openpkg-registry        registry-ui.pl

  Log:
    always clear session cache; rename session to avoid name clash with
    ase cookie

  Summary:
    Revision    Changes     Path
    1.29        +2  -5      openpkg-registry/registry-ui.pl
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-registry/registry-ui.pl
  ============================================================================
  $ cvs diff -u -r1.28 -r1.29 registry-ui.pl
  --- openpkg-registry/registry-ui.pl   26 Nov 2005 23:32:53 -0000      1.28
  +++ openpkg-registry/registry-ui.pl   26 Nov 2005 23:34:12 -0000      1.29
  @@ -170,7 +170,7 @@
   #   establish CGI Session object
   my $session;
   $session = undef;
  -CGI::Session->name("sid");
  +CGI::Session->name("registry-sid");
   $session = new CGI::Session(
       "driver:sqlite;serializer:Storable;id:uuid", $cgi, { Handle => $dbs, 
TableName => 'session' }
   );
  @@ -179,10 +179,7 @@
       goto CUS;
   }
   $session->expires("+5m");
  -if (not defined($session->param("housekeeping"))) {
  -    $session->param("housekeeping", "done");
  -    CGI::Session->find(sub {});
  -}
  +CGI::Session->find(sub {});
   
   if ($cfg->{identification}->{mode} eq "ase") {
       #   establish ASE object
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     openpkg-cvs@openpkg.org

Reply via email to