I have an application where users log on at the homepage (it’s a form, no frameset). If they enter the wrong username or password they are sent to a custom login page served up by domcfg.
I would rather they be re-routed back to the homepage where they could re-enter their data. Could this be done if I applied the reasontype field and some Javascript in the onload event in the homepage form? I know I would probably have to make some changes in domcfg and elsewhere.
Anyone tried this before?
Subject: Redirect Login Failure to Homepage
can you just update domcfg so that your homepage is the login form?
Subject: RE: Redirect Login Failure to Homepage
I need the homepage form to be able to respond properly if the user enters a wrong name or password, that’s where I suspect that the reasontype field would come in.
Subject: RE: Redirect Login Failure to Homepage
Deborah,
When a web login fails, the user is automatically redirected to the login form for the current web domain, as it is configured in domcfg.
Within your environment, can you reconfigure domcfg to use your HomePage form for web logins? (check the domino help files, I can’t remember the exact procedure here)
If not, I assume there must be other web apps on your server that all rely on the same common login form currently specified in domcfg. In this case, you don’t really want to mess with the login form since you would be affecting other applications. The only thing I could think of is using some sort of AJAX call to log the user in from the homepage and then validate their login. That could be some complicated javascript though.