in reply to Re: redirection failing when cookie is set
in thread redirection failing when cookie is set

Thank you Kutsu, I'll try your code. I just have one question....what's "-uri" and "$turi"? What are they supposed to be?

Thanks

  • Comment on Re^2: redirection failing when cookie is set

Replies are listed 'Best First'.
Re^3: redirection failing when cookie is set
by wfsp (Abbot) on Sep 09, 2004 at 14:13 UTC
    From CGI.pm doc:
    Most CGI.pm routines accept several arguments, sometimes as many as 20 optional ones! To simplify this interface, all routines use a named argument calling style that looks like this:
    print $q->header(-type=>'image/gif',-expires=>'+3d');
    Each argument name is preceded by a dash. Neither case nor order matters in the argument list. -type, -Type, and -TYPE are all acceptable. In fact, only the first argument needs to begin with a dash. If a dash is present in the first argument, CGI.pm assumes dashes for the subsequent ones.