I use a modified version of the Notes.Net registration database & I have a pseudo-nab that holds the user info, but the NAB still needs to have at least a username and password for these people to authenticate so a doc is created when they log in, using an agent. I use session authentication. The problem is that once a user registers on one site, they are then in the NAB, and the second site cannot register them in the NAB as a user for their site. Any ideas would be appreciated!
Steve
Subject: Two virtual hosts on one server - solution
Ok, got it figured out. I had to put it code in the onsubmit of the login form (I’m using session authentication) that will append some text to the end of the username to identify which site they are logging in on, and also do the same thing when the user first registers so that the names match in the NAB. I used the site domain name. Had to turn on Generate HTML for the form to be able to alter the username field during onsubmit using javascript. For any views or displays of the username I just strip off the extra stuff. Steve