Can anyone see a problem with this code?
-value => $pass
);
print $IN->header( -cookie => $cookie_pass );
my $cookie_user = $IN->cookie (-name => 'user',
-value => $id
);
print $IN->header( -cookie => $cookie_user );
For some reason, when calling them, only the 'user' one holds a value I've tracked down $pass, and that seems to be getting right upto where the cookie is set....so what am I doing wrong?
Cheers
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!
Code:
my $cookie_pass = $IN->cookie (-name => 'pass', -value => $pass
);
print $IN->header( -cookie => $cookie_pass );
my $cookie_user = $IN->cookie (-name => 'user',
-value => $id
);
print $IN->header( -cookie => $cookie_user );
For some reason, when calling them, only the 'user' one holds a value I've tracked down $pass, and that seems to be getting right upto where the cookie is set....so what am I doing wrong?
Cheers
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!