in reply to Re: Cookie problem
in thread Cookie problem

ok. I delete the problem line (thank you)
and work very good , but the cookie it's not
work (customize), why?

Replies are listed 'Best First'.
Re: Re: Re: Cookie problem
by chromatic (Archbishop) on Aug 14, 2003 at 22:26 UTC

    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.

      I try. Thank you.