in reply to Perl Sessions and Cookies - Cookie don't get passed
Your redirect is wrong. Always test the real output from the command line or with curl or something if your script isn’t behaving–
perl -MCGI=:all -e 'print redirect("http://some/full/uri", cookie(-nam +e => "x", -value => "y" ))' Status: 302 Found Window-Target: x=y; path=/ Location: http://some/full/uri
This—Re: CGI::Application redirect loses cookie—shows redirect with cookie with CGI.
Couple other points–
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl Sessions and Cookies - Cookie don't get passed
by Yaerox (Scribe) on Mar 06, 2015 at 08:12 UTC |