Syntactic Confectionery Delight | |
PerlMonks |
Re^4: RFC: Proposed tutorial - simple login script using CGI::Applicationby scorpio17 (Canon) |
on Jan 21, 2016 at 15:10 UTC ( [id://1153285]=note: print w/replies, xml ) | Need Help?? |
The CGI::Application::Plugin::Authentication config method provides the parameters POST_LOGIN_RUNMODE and POST_LOGIN_URL for this purpose (see the documentation). I actually make use of POST_LOGIN_RUNMODE in this demo to route control through my 'okay' runmode, whose main purpose is to transition from https back to http. Feel free to modify that run mode as needed for whatever you need to do.
In Section
Meditations
|
|