Login the same database

Posted on 2001-07-22
Last Modified: 2013-12-18
In my server settings.. the authentication is session based, login will use a custom based form, a default database is specified as home database.. so if the user enters http://servername then the custom form authenticates the user.

But I want to provide access to a database inside the server from IIS server... If the user clicks the URL from IIS's webpage (for eg http://servername/dbname.nsf?Login).. it opens the custom login form and if the user enters the username and password correctly it opens the database... BUT if the username/password is incorrect then the URL automatically changed to the Names database of the server (like http://servername/names.nsf?login)...

We do not want to change the HOME page settings of our server.

How can I maintain the authentication resides on the same database till the user authenticates succesfully ?

Question by:mkumaran
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
LVL 10

Expert Comment

ID: 6305873
Hello Kumar,

is not your customized $$LoginUserForm form in the database domcfg.nsf ?

When in this domcfg.nsf you can create two config documents:
Mapping a Login Form
Mapping Error Messages

I tested for this "Mapping Error Messages" to place the database and form for "Authentication Failure", but I got allways the form dedicated for:
Login Form/Target Database file name:/Target Form name:

This is also the behaviour when you do not create one of this config documents but simple create the domcfg.nsf from the template domcfg.ntf
Therin you simply adapt the allready present form: $$LoginUserForm

But still your question: How to make disapear: /names.nsf?Login
is not solved. My assumption is, that is hardcoded.

Try this all on your servers instalation. Be warned that "tell http restart" is not enough. Best choice is to stop and start the srever (not simply: restart server).

Good luck,

Author Comment

ID: 6305888
Hi zvonko,

Thanks for your quciker response.
I've checked the domcfg.nsf... the it has two documents already created.. one for mapping the custom login form.. which is pointing to DCLF.nsf (from Lotus Sandbox) and the other is created with default values.. so the "Error Message and Response Mapping" form contains the default entries only.. which is same as the database name "Domcfg.nsf".

Since we are using DCLF.nsf we didn't change anything in $$LoginUserForm.
Names.nsf is no where hardcoded (even I checked the server document).. Server document's default home page is a different notes application and not Names.nsf

Do we need to remove the default Domcfg.nsf from the error message form ?

LVL 10

Accepted Solution

zvonko earned 100 total points
ID: 6306007
Sorry, my fault (:-)),

I assumed hardcoded not in any of your definitions, but hardcoded in LotusDomino behaviour.

So now I have better picture how you customized your login form,
but still I do not understand why it is a problem for you to see in the URL:

when you still below this URL see the form from:

By the way; I tried to do the same and sow the content from CustomLoginForm and in the URL this .../names.nsf?Login
I gived up because today is Sunday  (the seventh day) but I think it could be something wrong with the ACL (Anonymous has to have: ReadAccess) even if the form has the field "$PublicAccess" with the content "1".
Check also this in your forms (on Monday)...

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 6307170
Hi Zvonko,

I found that the DCLF's custom form's action tag includes "Names.nsf?login"... which gives the problem...

Anyhow thanks a lot for your valuable suggestions.

LVL 10

Expert Comment

ID: 6307937
Hello Suresh,

tahnk you for the feedback ;-)
but wath about my points <|;-)

LVL 10

Expert Comment

ID: 6308052
Sorry :-)

thank you for the points.


Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is an old article, please see an updated version of this article, located here:
You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

738 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question