Search DominoPower's 11,320 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
Lotusphere 2010: mobility and collaboration
2010: A Lotusphere of change
Five trends for 2010
DominoPower TV Episode 1: Inside a strategy session with Teamstudio
More about Domino log files
Say goodbye to the Uh-Ohs. Long live the Tens.
Why your log.nsf might not be purging properly
Latest Lotus Headlines
SnTT: XPages Blank Calendar Control (Part 2), adding data
Have your Lotus Notes calendar display multiple time zones
Sample Database for Microsoft Office and Lotus Symphony Integration
Symphony 3.0 beta signals another attack on Office
Enabling DAOS on a database - new recommendation
Need your opinion on some new policy settings for Mail
Sometimes IBM Lotus Domino HTTP RPC Agents aren't the answer...
>> Read all the news
More from the ZATZ journals
Computing Unplugged: The iPad: Apple's latest heartbreaker
David Gewirtz Online: CNN commentary and analysis
OutlookPower: Running auto-respond rules when Outlook is closed
-- Advertisement --

Power Tools 6.0 is a set of 90 administrative utilities for Lotus Notes & Domino
Power Tools simplifies management of the Notes/Domino environment by automating routine tasks. Power Tools can manage or monitor mail files, groups, ACLs, agents, LOG.NSF, templates and more.

Download a trial version from helpsoft.com.
-- Advertisement --

Integrate your Notes Applications with Microsoft Office and Symphony
Integra for Notes Integrates Microsoft Office and/or IBM Lotus Symphony
Requires NO change to the design of the appliation or Installations of DLL's and EXE's
  • Integra is a ready to use solution, enhance static reports with Excel data analysis, pivot tables, macros
  • User friendly aproach, using a point and click access to features
  • Reports from any Lotus Notes databases
  • Runs reports through a Notes client, web browser and scheduled basis
  • Allows use of LotusScript for advanced data manipulation
  • Enables self service reporting capabilities to end-users


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