--- Alex Agerholm <[EMAIL PROTECTED]> wrote: > Hi Curtis, > > Thanks for your help, I am actually on IIS so you have saved me a lot of > troubles. > Do you know how to work around this ? > >From the microsoft article below it seems like running in nph mode should > solve it but redirect(-uri => xxx.cgi, -cookie => $cookie, -nph => 1) does > not solve it and neither does using the -nph pragma in the the use CGI line. > > Regards > Alex
Alex, I would telnet to port 80 and manually request the data from your script. That way, you can see the headers that are being sent. Or, you could just write a short LWP script to do this (see perldoc LWP). Yet another option is to simply run the script from the command line (while running as -noh), but this has the problem that you can't see if your script is doing anything odd. Also, just to make sure you're handling it correcty, with IIS, the script name must begin with "nph-". Cheers, Curtis "Ovid" Poe ===== "Ovid" on http://www.perlmonks.org/ Someone asked me how to count to 10 in Perl: push@A,$_ for reverse q.e...q.n.;for(@A){$_=unpack(q|c|,$_);@a=split//; shift@a;shift@a if $a[$[]eq$[;$_=join q||,@a};print $_,$/for reverse @A __________________________________________________ Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes http://finance.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]