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: 28-Nov-2005 10:00:09
Branch: HEAD Handle: 2005112809000800
Modified files:
openpkg-registry registry-ui.pl
Log:
try to improve session handling: manpage reads expire not expires,
find is suspected to expire wrong sessions
Summary:
Revision Changes Path
1.47 +2 -3 openpkg-registry/registry-ui.pl
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-registry/registry-ui.pl
============================================================================
$ cvs diff -u -r1.46 -r1.47 registry-ui.pl
--- openpkg-registry/registry-ui.pl 28 Nov 2005 08:57:15 -0000 1.46
+++ openpkg-registry/registry-ui.pl 28 Nov 2005 09:00:08 -0000 1.47
@@ -124,7 +124,7 @@
"DBI:SQLite:dbname=".$cfg->{db}->{session}->{dbfile}, "", "",
{
PrintError => 0,
- RaiseError => 1,
+ RaiseError => 0,
AutoCommit => 1
}
);
@@ -180,8 +180,7 @@
&printprettyerror("Session handling failed", "");
goto CUS;
}
-$session->expires("+3600s");
-CGI::Session->find(sub {});
+$session->expire("+3600s");
if ($cfg->{identification}->{mode} eq "ase") {
# establish ASE object
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]