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 WEB TECHNIQUES
How to use cookies with Notes and the Web
By Jeffrey R. Burrows

As Notes becomes progressively more Web-enabled, the likelihood that systems being delivered to customers will require a mixture of traditional Notes pages and Domino-served Web pages increases. This is especially true in R5, with its increased Web functionality and improved multiple window handling.

"A cookie is used chiefly by Web sites to identify users who have previously registered or visited the site."

One of the typical reasons for mixing client modes is to perform on-line queries of enterprise data and return the results immediately to you, the user. Obviously, it would be nice to avoid the fuss of installing DECS (Domino Enterprise Connection Services), or, even worse, of ensuring that database middleware (e.g., SQLNet for Oracle) is installed and correctly configured on every client machine. A standard Notes form can easily build a URL with parameters for the query, call a Domino Web agent, and have the results received as a Web page.

The biggest obstacle to this seamless mixed Notes/Web scenario is authentication. After you sign into Notes, you are then presented with another login box when a Web page is called, and possibly multiple other login boxes every time you make a query. On top of that, Notes maintains separate Notes and Domino Web passwords -- a recipe for confusion and exasperation and certainly anything but seamless! The alternative, however, to removing the security of a password is hardly better, especially if it is the gateway to confidential enterprise data.

There are a number of possible custom authentication methods, though, such as registering the permitted IP addresses or domains and permitting only queries from those PCs. However, with that comes the added overhead of maintaining that list -- not made any easier if DHCP (Dynamic Host Configuration Protocol) is being used to allocate IP addresses on the network. In addition, this method only authenticates the PC, not the individual user making the query.

A solution
The solution proposed in this article is to create unique "cookie" numbers in a Notes database and pass the cookie value along as part of the URL to the Web agent, as shown in Figure A. The Web agent will then look up the Notes cookie database to ensure that the cookie is present and has not yet expired. A cookie is a collection of information, usually including a username and the current date and time, stored on the local computer of a person using the World Wide Web. It is used chiefly by Web sites to identify users who have previously registered or visited the site.

FIGURE A


A schematic of the relationship between the three databases involved in mixed client authentication. Roll over picture for a larger image.


1  ·  2  ·  3  ·  4  ·  Next »
Other articles you might like
Home > Internet Technologies > Logging and analysis (8 articles)
   Boost your server performance with HTTrack
   Keeping user credentials in a frameset
   Using probes to monitor your Domino servers
Home > Lotus Technologies > Notes (78 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
   Troubleshooting an OpenSuse Notes install
Home > Internet Technologies > HTML and CSS (15 articles)
   Using a reusable code approach to HTML select option lists
   One reader's opinion on HTML mailing
   Keep lookin' good with Cascading Style Sheets
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