From e08e6a01c3def7f90bf8462ffd6e86098b6b69af Mon Sep 17 00:00:00 2001 From: Michael Hafen Date: Tue, 27 May 2008 12:11:21 -0600 Subject: [PATCH] fixed session cookie name in opac-logout.pl Session Cookie name is CGISESSID in Auth.pm Signed-off-by: Michael Hafen Signed-off-by: Joshua Ferraro --- opac/opac-logout.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opac/opac-logout.pl b/opac/opac-logout.pl index e2dedcc759..b8a5c75874 100755 --- a/opac/opac-logout.pl +++ b/opac/opac-logout.pl @@ -24,7 +24,7 @@ use CGI::Session; my $query=new CGI; -my $sessionID=$query->cookie('sessionID'); +my $sessionID=$query->cookie('CGISESSID'); if ($ENV{'REMOTE_USER'}) { print $query->header(); @@ -74,7 +74,7 @@ printf L "%20s from %16s logged out at %30s (manual log out).\n", $userid, $ip, # where is $ip is coming from?? close L; -my $cookie=$query->cookie(-name => 'sessionID', +my $cookie=$query->cookie(-name => 'CGISESSID', -value => '', -expires => '+1y'); -- 2.39.5