good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
CGI.pm, cannot retrieve cookie.by submersible_toaster (Chaplain) |
on Nov 29, 2002 at 02:54 UTC ( [id://216414]=perlquestion: print w/replies, xml ) | Need Help?? |
submersible_toaster has asked for the wisdom of the Perl Monks concerning the following question: Fellow monks, I am hoping someone can point out the error(s) of my way here. I am using an html form to POST two values 'user' and 'pass' to a validation script, which sets a cookie called 'id' (if the user is valid) and returns a link to the main cgi that requires the cookie Security pundits - I know this is frightfully insecure to send 'pass' in this manner , I believe it's as bad as an ftp site without strong auth, or telnet. I have read Ovid's offsite cgi tutorials (recommended). For the moment I am trying to get cookies to work at ALL, before trying to secure them. so the validator looks like
I am certain that this is setting a cookie, IE warns me and I accept the cookie. But when browse.pl runs
Apache documentation is pretty sparse , and indicates that cookie problems are generally script or client based, the system I am running on is RH7.3, perl 5.6.1 , apache 1.3.26 $row x 3 , $boat->your;
Back to
Seekers of Perl Wisdom
|
|