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.
| [reply] [Watch: Dir/Any] |
Thanks , I have created script with CGI Perl and I’m trying to add login page this tutorial and its working good . However when I’m trying to redirect page (calling my script with POST_LOGIN_URL) its complete change the new URL. im not sure how to add same URL with my script. Couple you please guide some example Thanks in advance!
| [reply] [Watch: Dir/Any] |
You don't need to redirect to a new script. You could redirect to http://localhost/cgi-bin/WebApp/simple.pl?loginSuccess=1 for example.
| [reply] [Watch: Dir/Any] [d/l] |
Thanks , I have created script with CGI Perl and I’m trying to add login page this tutorial and its working good . However when I’m trying to redirect page (calling my script with POST_LOGIN_URL) its complete change the new URL. im not sure how to add same URL with my script. Couple you please guide some example
Thanks in advance!
| [reply] [Watch: Dir/Any] |
| [reply] [Watch: Dir/Any] |