Domcfg.nsf Login page

Hi and thank you for taking the time to read this, I am using domcfg.nsf to login into a database on the web. When the login works if goes directly to the form, however when it doesn’t work I get an error page. I know how to set it so that it goes to a specofoc error page but what I want it to do is return me back to the login page so I can try logging in again.

When I set it to do that it is still remembering that I got the password wrong the first time so it won’t let me enter again. I have to close the broswer window and then try logging in again. I tried creating a second login page but that remembers the password as well. The user should not have to close the browser to log in a second time. Does anyone know how I might be able to accomplish this? Thank you for your time and help.

Subject: domcfg.nsf Login page

Don’t create a mappings form, and make sure you have all the proper fields on the form, and any authentication failures, access errors, etc will re-present the login page.

Jeremy

http://www.zetaone.com/jeremy/hodgebloge.nsf

Subject: RE: domcfg.nsf Login page

Thanks Jeremy, so are you saying I shouldn’t be using domcfg.nsf for the login. Also you say to have all the proper fields on the form and any aithentication failures, do you think you can be a little more specific. This is my first time trying to configure a login page instead of just allowing the page to error out.

Thanks for the help

Subject: RE: domcfg.nsf Login page

No, go ahead and use domcfg.nsf … you just create a custom form in that database, and then create definition for it for your website, but don’t create the mappings form that allows you to redirect specific failures to specific forms. If you look at the default authentication form in the domcfg.nsf database (i think its call $authenticate or something similar) you’ll see all the fields you need. In fact, just copying this form and using it as the base for your design is the easiest way to start.

jeremy

http://www.zetaone.com/jeremy/hodgebloge.nsf