Storing the user info in e-commerce application on Domino

Author: Tripp W Black

Created: 12/29/1999 at 05:10 PM

 

Category:
Notes Developer Tips
E-Commerce

There are two main ways of doing it:

* storing the customer info on the URL as it's passed between each form or agent (look at hotmail.com for an example of how this can be done)

* use server-side cookies (there's an article in Dec 1999 edition of www.dominopower.com on doing this, with sample db)

Yes you can set a cookie from LotusScript or @Function but only by writing out a <META tag into the HTMLHead field. see:

http://support.lotus.com/sims2.nsf/802ee480bdd32d0b852566fa005acf8d/46e9956a7f48c9cc852565310072b337?OpenDocument

The other way is to write some JavaScript that set the Cookie. I prefer this because you can then test whether the Cookie was accepted by the browser (remember, users can choose not to accept cookies...)

previous page