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