Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Bug in authentication routines?

Quote Reply
Bug in authentication routines?
Hi guys. Think I've found a bug in Links/Authenticate.pm (line 177). It currently looks like;

Code:
my $session_cookie = $IN->cookie ( -name => 's', -value => $session_id, -path => '/' );

... but should it be something like;

Code:
my $session_cookie = $IN->cookie ( -name => 's', -value => $session_id, -path => '/', -expires => '+2y' );

I've tried this change on a dev site, and it seems to take effect.

Is this a bug, or a "feature"? (if its a feature, shouldn't there be an admin option, which enters a value for -expires?). I'm almost definate that this worked on 2.1.2 =)

Anyway, I'm off for the night now. Just thought I would post something, so that people can see the problem Smile).

Night

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Subject Author Views Date
Thread Bug in authentication routines? Andy 2435 Oct 14, 2004, 12:25 PM
Thread Re: [Andy] Bug in authentication routines?
brewt 2328 Oct 14, 2004, 3:26 PM
Thread Re: [brewt] Bug in authentication routines?
Andy 2340 Oct 15, 2004, 12:32 AM
Thread Re: [Andy] Bug in authentication routines?
brewt 2302 Oct 15, 2004, 1:24 AM
Post Re: [brewt] Bug in authentication routines?
Andy 2318 Oct 15, 2004, 3:05 AM