Search DominoPower's 11,420 Lotus-related article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
DOMINO DEVELOPER'S TOOLBOX
How to create a customized login dialog box for Domino 4.6
By Frank Cseh

This article shows how you can build an enhanced login dialog box, where you can put comments about login requirements and more details about the login process.

The Domino 4.x login dialog box has only two fields: login and password. This is illustrated in Figure A.

FIGURE A

The Domino 4.x login dialog box only has Login and Password fields.

In most cases, users are confused about the variety of passwords they have to use. In many company environments, there's a Novell password, an Internet-proxy password, a Notes password, and now the Domino password. Of course, users have to remember their related login names as well.

To help ease the confusion, I created a login dialog box that can be customized. Figure B shows how it looks in my sample database. My sample database can be found at http://www.best.com/~cseh/logindb/logindb.zip.

FIGURE B


Here's what the login box looks like in my sample database. Roll over picture for a larger image.

The concept of the enhanced login dialog box is based on collecting the user name and password in a free-style form, then forcing the login by issuing this command:

http://loginname:password@YourDomain.com/TransferForm?OpenForm&;Login=1

For a quick login, you can use the following format (but only with 4.x or 5.x browsers):

http://loginname:password@YourDomain.com

Although not strictly relevant to this article, the loginname:password form is also usable for accessing FTP servers. You can use this format to log into an FTP site quickly:

ftp://loginname:password@YourDomain.com

It also works with 3x type of browsers.

Once again, here's the full command line:

http://loginname:password@YourDomain.com/TransferForm?OpenForm&;Login=1

The formula will do a quick login. Then, to avoid seeing the password in the URL window, the formula opens a temporary form -- the TransferForm. This form immediately replaces the URL in the history buffer.

The TransferForm has one computed-for-display field, the $$HTMLHead field. It has a small JavaScript code to replace the URL with a new location, which is shown below:

"<SCRIPT LANGUAGE=\"JavaScript\">
function gothere() {
var target_form =\"http://YourDomain.com/lodindb/logindb1.nsf/\";;
self.location.replace(target_form +\"?OpenDatabase&Login=1\")
}
</SCRIPT>
<BODY onLoad=\"gothere()\"></BODY>"

Next, I'd like to point out how to test and implement this database before encoding it in a production database. You should download the sample database, unzip it, and place the LOGINDB1.NSF file in the \NOTES\LOGINDB\ directory.


1  ·  2  ·  Next »
Other articles you might like
Home > Lotus Technologies > LotusScript (64 articles)
   When the debugger won't debug hidden code that isn't hidden
   What to do if the LotusScript debugger won't single-step over code
   Little known traps about Lotus Notes fields
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent DominoPower Articles
Application development, William Shatner, and the origin of the universe
The (near) future of Sametime, Quickr, Connections, and Symphony
Inside the IBM Innovations lab
Lotusphere 2010: Hot fixes and cool news for Notes, Domino, and LotusLive
Lotusphere 2010: mobility and collaboration
2010: A Lotusphere of change
Five trends for 2010
Latest Lotus Headlines
New Notes/Domino Technotes published about Chile's extended daylight saving time
SnnT: How to prevent Google from listing your Sametime Server
How to send someone an email that shows your calendar availability
"The collection has become invalid"
More XPages onclick event weirdness...
Domino 8.5.1 Fix Pack 1 Interim Fix 1 (8.5.1 FP1 IF1) - DAOS Fixes
Domino Designer 8.5 Tip: Where Working Sets Are Stored
>> Read all the news
More from the ZATZ journals
Computing Unplugged: Make Mafia Wars an offer it can't refuse
David Gewirtz Online: CNN commentary and analysis
OutlookPower: Removing an Office installation that doesn't want to go away
-- Advertisement --

Sophisticated Meets Simple For Document Management
Share. Control. Manage.
Documents, emails, and content in the context of how work is done. Native to Lotus Domino. The User Experience unseen for Lotus Domino. Do more with less. Really.

See the possibilities Docova unleashes for Lotus Domino.
-- Advertisement --

Teamstudio Edition 25 has shipped
It's finally here! Now that Teamstudio Edition 25 has shipped, listen to our latest Tool Time audio program to find out what's changed. Updates to all your favorite Teamstudio tools will be discussed.

Plus, you'll get an introduction to Teamstudio Undo (formerly known as Teamstudio Snapper).

Tap here to get started!

ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login