L
lbarbieri
Guest
I was trying to use the external_login.php script and I ran into a weird problem.
It's about the ReturnUrl parameter used to go to a specific page after a successful login: if I log in using the administrator account, everything works fine; for any other user, the parameter is ignored and I am brought to the Wizard.
I tried with simpler return URLs, down to www.google.com, but nothing changed. Also, I tried with and without parameter "urlencoding". In both cases, it works for admin and no one else.
Of course I am not using any other parameter that could (according to the Developer Guide) prevent this mechanism from working, i.e. SiteID and ShowAdmin.
Example: http://mysite/external_login.php?Login=username&Password=password&ReturnUrl=http://www.google.com
Any suggestion? Am I doing something wrong?
Thanks in advance.
It's about the ReturnUrl parameter used to go to a specific page after a successful login: if I log in using the administrator account, everything works fine; for any other user, the parameter is ignored and I am brought to the Wizard.
I tried with simpler return URLs, down to www.google.com, but nothing changed. Also, I tried with and without parameter "urlencoding". In both cases, it works for admin and no one else.
Of course I am not using any other parameter that could (according to the Developer Guide) prevent this mechanism from working, i.e. SiteID and ShowAdmin.
Example: http://mysite/external_login.php?Login=username&Password=password&ReturnUrl=http://www.google.com
Any suggestion? Am I doing something wrong?
Thanks in advance.