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

Michael Hafen mdhafen at washk12.org
Thu May 29 22:55:32 CEST 2008


These are my first patches for Koha 3.  I have posted others in the past
for Koha 2.2 attached to bugzilla entries.

Unfortunately I don't have access to IRC from work.  Otherwise I would
be there.  Thanks anyway.

I'm using Koha in a medium sized school district with so far about a
quarter of our schools using it.  I've made many many changes of the
years, and am really happy to be using git.  Makes tracking my changes
much easier.

Thanks again.

On Wed, 2008-05-28 at 08:36 -0500, Andrew Moore wrote:
> 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