|
|
| Problems? Is your data what you think it is? | |
| PerlMonks |
Re: CGI::Application design strategyby Corion (Patriarch) |
| on Mar 02, 2004 at 04:38 UTC ( [id://333202]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
I didn't find anything wrong with the run mode switching in CGI::Application, but I didn't do authentication through it. You say in your intro, that you have two run modes, "login" and "login_submit", but later on, you mention a third run mode, which I would calll "login_retry". I would redirect the user from a failed login to the login_retry run mode, either internally (by changing the used template) or externally, by sending the correct location: redirect.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||