Hi Lyle

On Thu, 2009-03-05 at 03:03 +0000, Lyle wrote:
> Hi All,
>   I just wasted the last 2 hours going round in circles trying to figure 
> out what is going wrong. Everything works find if I return the normal 
> text/html header. But as soon as I use a redirect instead, the session 
> is sometimes lost.

Official Guide to Programming with CGI.pm
Lincoln Stein
Wiley
1998

P 225 says:
"All named arguments recognized by header() are also recognized by
redirect(). However, most HTTP headers, including those generated by
-cookie and -target, are ignored by the browser."

Seems to me you've been bitten by this one.

And while I think of it. I emailed Lincoln years ago about misprints in
this book, and he made it clear to me he would never deal with Wiley
again. He despises them for the low standard of their proof-reading.

-- 
Ron Savage
r...@savage.net.au
http://savage.net.au/index.html



#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################

Reply via email to