[Koha-patches] [PATCH] fixed session cookie name in opac-logout.pl

Andrew Moore andrew.moore at liblime.com
Wed May 28 15:36:04 CEST 2008


Hi Michael -

Thanks for your patches. I think these might be your first, so congratulations!

I encourage you to drop by the IRC channel #koha on irc.katipo.co.nz
if you like. We chat about using and developing koha there. I'd love
to get to hear about how you're using koha and what changes you'd like
to see in it. (Maybe you already do, and I've missed you there)

-Andy

On Tue, May 27, 2008 at 1:11 PM, Michael Hafen <mdhafen at washk12.org> 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