Search DominoPower's 11,323 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 (84 articles)
   A walk down Memory Lane with Lotus Notes
   An application for scanning physical mail and distributing it virtually
   Managing Notes deployments with Teamstudio Build Manager
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
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
Recommended Maintenance - Lotus Notes Traveler
Here are the slides and other materials from our Lotusphere session
Microsoft OCS awareness in Lotus Connections and Websphere Portal?
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
>> 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 --

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 --

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