in reply to Re: Setting single cookie with a separator
in thread Setting single cookie with a separator

Okay, is there something wrong with the way I'm doing it now? The BB is the only browser that can't handle it. When trying to fetch them like this, it doesn't work. What am I missing?
%cookies = CGI::Cookie->fetch; $username = $cookies{'reguser'}->value; $password = $cookies{'regpass'}->value; $regtype = $cookies{'regtype'}->value;

Replies are listed 'Best First'.
Re^3: Setting single cookie with a separator
by Anonymous Monk on Aug 25, 2011 at 08:27 UTC

    Okay, is there something wrong with the way I'm doing it now?

    If you have to ask, its safe to assume the answer is yes :)

    your posted code doesn't do any form of encoding/escaping,

    use CGI or die;

    use CGI or die;