Search DominoPower's 11,441 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.
Using cookies in Lotus Domino applications is in your future (continued)

I can hear you say "Okay great! Now I know how to use cookies, but what do I use them for?" Good question.

My TaskMaster application (at http://www.touchdown.com.au/trytaskmaster.html) uses cookies extensively for maintaining information about the section of the site most recently visited by the user. This way I can ensure that when the user hits "submit," they are returned to the HTML page that they came from.

TaskMaster also uses cookies to remember the most recently used values in a variety of dropdown fields, which ensures that the application has "memory" of the preferences of the end user.

To ensure that all the required cookies have the appropriate default values for new users, TaskMaster first sends users to a "startupcheckpage" which looks for the presence of various cookies. If they aren't there, it then sets them to default values.

You can see all of TaskMaster's use of cookies live on the Internet by visiting http://www.touchdown.com.au/trytaskmaster.html.

The applications for cookies are myriad and will be driven by your need to maintain "state information" about a user's session of interaction with the Domino server.

Finally
Fortune cookie says: "It is better to have a hen tomorrow than an egg today."

As you can see, cookies are easy. It's true that they aren't as flexible and powerful as the session handling in IIS or PHP, but cookies do go a long way towards compensating for Domino's lack of session persistence functionality.

You can download a demonstration database for this article from http://www.touchdown.com.au/dpcookies.zip.

As for me, I'm off to have a piece of toast with vegemite and a glass of milk. Remember, fortune cookie says: "Many receive advice, only the wise profit by it."

Good fortune to you.

Product availability and resources
For Netscape's cookie specification document, visit http://www.netscape.com/newsref/std/cookie_spec.html.

For the demonstration database for this article, visit http://www.touchdown.com.au/dpcookies.zip.

For more information on the TaskMaster application, visit http://www.touchdown.com.au/trytaskmaster.html.

For all of TaskMaster's use of cookies live on the Internet, visit http://www.touchdown.com.au/trytaskmaster.html.

Easy, flexible article reprints
ZATZ now offers a quick, easy, flexible and inexpensive way to use article reprints in your marketing and promotion efforts. You can now get article reprints for a one-time fee of only $200. For details, visit http://mediakit.zatz.com/reprints.

Mick Moignard has been working and traveling with Lotus Notes since Release 2.0 in 1991. Mick is a DominoPower Senior Technical Editor and a Principal CLP with Unipart Expert Practices, a Lotus Advanced Partner in the UK. If you want to discuss anything to do with this article, or indeed anything else to do with Notes and Domino, contact Mick at Mick_Moignard@unipart.co.uk. Unipart Expert Practices will also happily discuss any opportunities you may have with any Notes and Domino application development or infrastructure projects you need help with. Unipart Expert Practices can be found at http://www.unipartep.com.


« Previous  ·  1  ·  2  ·  3  ·  4  ·  5  ·  6
Other articles you might like
Home > Internet Technologies > JavaScript (13 articles)
   Sorting your Domino views with JavaScript
   Give your Domino views life with DHTML
   Using dynamically generated HTML to thwart spam email address harvesting
Home > Internet Technologies > Cookies (2 articles)
   Where cookie comes from
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
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
2010: A Lotusphere of change
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: The iPad defenders have spoken
David Gewirtz Online: CNN commentary and analysis
OutlookPower: More about disappearing text
-- Advertisement --

Find unused Lotus Notes groups and clean up your address book
Have you ever wanted to get rid of old Lotus Notes groups that were cluttering up your address book, but you weren't sure if they were used? Find Unused Groups can help.

Find Unused Groups will check your ACL, mail, multi purpose and server groups to help you determine if they are used, and who uses them.

Learn how to easily clean up your address book.

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