in reply to LWP ... cookie does not fit...

Have you tried looking in the web server error log, as the error message you have pasted here instructs? Generally a 500 error means the script crashed, and if it does, the error message that it crashed with would appear in the servers error log (or you can try adding use CGI::Carp qw(fatalsToBrowser); to try and get the errors to be displayed rather than logged).


We're not surrounded, we're in a target-rich environment!

Replies are listed 'Best First'.
Re^2: LWP ... cookie does not fit...
by Ray Smith (Beadle) on Feb 13, 2006 at 19:41 UTC
    You hit the mark. Looking at the server log I saw a "Premature end of script headers" error. As it turns out, the server application is rather terse when it finds missing parameters. This lead me to doubt my handling of cookies with LWP. After supplying the proper parameters, things work fine. Thanks again.