Forum Discussion
Pre-fill logon form (username) in APM?
Is there any simple (or not) way to pre-fill logon form in APM (username field)? The use case is for a registration site which redirects after successful registration to login page (APM). The new registered username can be parsed either from url parameter or cookie.
--timo
2 Replies
- Richard_Jones
Nimbostratus
Yes. Set the variable session.logon.last.username with an iRule or Variable Assign action in the VPE. Then, on the logon page, set the Username field to be Read-Only. I use this technique when using an external two-factor authentication system. Works great!
- THi
Nimbostratus
Setting the username variable Read-Only works fine, but as it is read-only the user cannot change the value in case he wants to log in with another username. Is there any way to pre-fill the username so that it can be overwritten if needed? --timo
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com