[Koha-patches] [PATCH] fixed session cookie name in opac-logout.pl
Joshua Ferraro
jmf at liblime.com
Thu May 29 13:33:37 CEST 2008
Hi Michael,
Welcome to the wild world of Git :-). Thanks for your patch! I've
applied it and pushed it up.
Josh
On Tue, May 27, 2008 at 12:11:21PM -0600, Michael Hafen wrote:
> Session Cookie name is CGISESSID in Auth.pm
>
> Signed-off-by: Michael Hafen <mdhafen at washk12.org>
> ---
> opac/opac-logout.pl | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/opac/opac-logout.pl b/opac/opac-logout.pl
> index e2dedcc..b8a5c75 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');
>
> --
> 1.5.4.3
>
> _______________________________________________
> Koha-patches mailing list
> Koha-patches at lists.koha.org
> http://lists.koha.org/mailman/listinfo/koha-patches
More information about the Koha-patches
mailing list