Variables don't interpolate in single quotes:
if (exists $cookie{'$user'}) {This code quotes a lot of variables unnecessarily; but this is definitely a bug. Also, you're recreating the $query object; I'm not sure if that'll wipe out any cookies, but it's definitely unnecessary.
In reply to Re: Re: Re: Cookie problem
by chromatic
in thread Cookie problem
by webstudioro
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |