|Pathologically Eclectic Rubbish Lister|
The 1st program runs, the 2nd downloadsby spacewarp (Pilgrim)
|on Jun 09, 2003 at 02:40 UTC||Need Help??|
spacewarp has asked for the
wisdom of the Perl Monks concerning the following question:
Got another one for ye great and mighty monks..
I'm working through my first implementation of cookies, and hitting a major snag, even though most of my code is straight out of the CGI Programming with Perl book. On my login page, the user puts in their username and password, and it sends to the primary CGI script. That authenticates the user, and if successful, tried to set a cookie, then verify that it's been set (using, as I said, code straight out of the book).
works, as does the rest of the program. In the browser, I see the cookie set attempt (using Mozilla, I purposefully deny the cookie without setting it to remember, so I can debug), but when it's given the redirect, it tries to download the cookie_test.cgi program instead of running it.
The cookie_test.cgi program:
Anyone know what's going on here?
Thanking you for your help (and your patience),
Updated #! line per author's req. - dvergin 2003-06-08