A quick look at CGI shows them using -NAME,-VALUE, and -COOKIE all in all lower case. I'm not sure if CGI is doing some magic that makes it not care about case, but I would recommend using the same as they use in the documentation to keep things simple.
For logins I general check for success and do the right thing then. Instead of checking for failure and doing the login. Its definitly personal preference but it can help weed out some bugs where variables aren't what you expect. Aslo CGI::Carp might be of some use for you. It will let you send warnings to the browser so that you can use them for debuging. This can be usefull when you don't have access to the error_log.
In reply to Re: CGI login issues
by eric256
in thread CGI login issues
by sulfericacid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |