in reply to Setting single cookie with a separator

First try CGI::Cookie before deciding BlackBerry Browser is broken
  • Comment on Re: Setting single cookie with a separator

Replies are listed 'Best First'.
Re^2: Setting single cookie with a separator
by htmanning (Friar) on Aug 25, 2011 at 04:38 UTC
    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;

      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;