Search DominoPower's 10,675 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
What to look for in a Domino-based document management solution
Understanding Domino.doc end-of-life options
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
Top 10 ways to launch and build a Lotus consulting practice (with a little help from the Beatles)
Troubleshooting an OpenSuse Notes install
Incident report: denial of service attack against ConnectedPhotographer.com
Latest Lotus Headlines
SnTT - Enabling ALL the bells and whistles!
Tivoli Data protection causes Domino to crash
Fun when running DB2 CLP scripts
Introducing Flippr, the easy way to admin Quickr
DXL and fake security
Using search forms in IBM Workplace Collaborative Learning 2.7
Schmidt, Freed, and Gering on the OVF Toolkit
>> Read all the news
More from the ZATZ journals
Computing Unplugged: Eight steps to successful and reliable home backups
David Gewirtz Online: CNN commentary and analysis
OutlookPower: Can Outlook run when it's not running (and other mysteries)?
-- Advertisement --

Learn Notes and Domino 8 at your place and pace!
Learn Notes and Domino in your office and/or home! TLCC's highly acclaimed distance learning courses for users, developers, and admins will enhance your career and your resume.

The many included activities and demos will make you a pro! Expert instructor help is a click away.

Click here to try a FREE demo course!!

-- 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.
ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2009, ZATZ Publishing. All rights reserved worldwide.
Editor's Login