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.
PROGRAMMING POWER
Using cookies in Lotus Domino applications is in your future
By Andrew Stuart

Fortune cookie says: "You may attend a party where strange customs prevail."

"Cookie" isn't a word that we use here in Australia. Instead, we use the word "biscuit." When I hear the word, "cookie," the image that pops into my head is American kids coming home from school and having milk and cookies.

Eating cookies and milk after school is an American tradition, not an Australian one. Kids come home from school here in Australia and eat toast with vegemite. Vegemite is a uniquely Australian, thick, black, gooey substance that makes non-Australians choke. Australians love it.

These cultural differences distracted me, and for a long time I had the wrong analogy in my head. I didn't see the relationship between "milk and cookies" and "Internet cookies."

A day of revelation came however, and I realized that the correct analogy for Internet cookies wasn't "milk and cookies," rather it was "Chinese Fortune Cookies." Ding! On came the lights, and it all made sense.

Strangely, Netscape's cookie specification document (at http://www.netscape.com/newsref/std/cookie_spec.html) says, "The state object is called a cookie, for no compelling reason." I don't believe this.

The Chinese Fortune Cookie is such an excellent analogy that it's hard to believe that the Web browser programmers didn't have Chinese Fortune Cookies in mind when they coined the term.

Chinese Fortune Cookies aren't even Chinese. They're a product of the U.S.A, invented in 1909 by Makota Hagiwara, manager of Golden Gate Park's Japanese Tea Garden in San Francisco. Makota handed them out to his customers as a thank you.

Other accounts say that the Chinese Fortune Cookie came about in the 13th or 14th century when the Mongols reigned over China. The Chinese planned rebellion against the Mongols and communicated their plans in secret messages hidden inside Moon Cakes that are traditionally used to celebrate New Year.

Whatever their origin, the underlying concept is the same. Chinese Fortune Cookies are little packages containing a simple text message. Internet cookies are also little packages containing a simple text message. In addition to the text message, Internet cookies store some other stuff, such as an expiry time that states how long the cookie is valid for, and a list of domains for which the cookie is valid. There's not much more to it than that. Cookies are little chunks of text passed from a Web server to a Web browser and back again.

Maintaining session state: making up for Domino's lack of memory
Fortune cookie says: "It takes more than good memory to have good memories."


1  ·  2  ·  3  ·  4  ·  5  ·  6  ·  Next »
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
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 --

PDF Conversion for Lotus Notes
Convert Lotus Notes documents to PDF for sharing, archiving or web printing.

  • 1-step PDF: As easy as clicking a Lotus Notes toolbar icon
  • Archive email folders or views as a self-contained PDF
  • Convert any document collection into a PDF file
  • Produce print-quality output from Web applications
  • Client side or Server side conversion
  • Doesn't require any DLL files
  • LotusScript API for developers


Ready to learn more?
-- 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-2009, ZATZ Publishing. All rights reserved worldwide.
Editor's Login