Search DominoPower's 11,443 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
Syncing Notes with Android phones
Application development, William Shatner, and the origin of the universe
Learn Domino Designer 8.5 for free
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
Latest Lotus Headlines
Xpages not loading? JVM errors? - Solution
How to implement an iCalendar feed into your Notes calendar with XPages
DWA Hotfixes for Domino 8.5.1FP1 - A Gotcha
IBM Adds DB2 to Lotus Foundations SMB Package
SNTT : XPages onclick Ghosts in the machine
Ports used by Lotus Sametime 8.5 servers
Exploring a Domino Date Bug
>> Read all the news
More from the ZATZ journals
Computing Unplugged: Online safety for virtual learning
David Gewirtz Online: CNN commentary and analysis
OutlookPower: Seek and find: Strategies to locate filed-away emails fast
-- 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 --

Mark your calendar for in-depth Lotus training, May 12-14, Boston
Join experts and peers May 12-14 in Boston for educational and networking events that deliver real-world Lotus training so you can increase productivity and efficiency in your company, advance your skills, and squeeze the most from your current environment. One registration gets you into THE VIEW's Admin2010 and Lotus Developer2010.

Register by April 10 to save $200.
ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login