Autologin via POST
Hi.
I would very much like to be able to log users into FOP2 automatically. Now i have tried and successfully used the method involving GET parameters, but i would really like to hide the username and password from the URL and do the login through a form POST instead. I did try submitting the login credentials through a post, with no luck.
I would very much like to be able to log users into FOP2 automatically. Now i have tried and successfully used the method involving GET parameters, but i would really like to hide the username and password from the URL and do the login through a form POST instead. I did try submitting the login credentials through a post, with no luck.
Comments
I will investigate if possible, and if its possible will include it on the next release.
Any method that will remove the login credentials from the URL will be super :-)
An alternative solution could be to make it possible to do the password check manually in the perl module, that way i could use the password field as a session hash and handle the session setup and expiry in my backend.
Your suggestion seems utterly complicated to implement. I have tested the window.name and works perfectly well, I have already implemented it on 'trunk'... you will see the feature in the next release. The login form should set the window.name on submit, here is a silly sample: