The easiest way to deal with cookies is to use the assign action instead. Then click on properties to set the expiration of the cookie.
If you just use <@assign cookie$Fred Foo>, you'll only assign a session cookie. Session cookies don't persist.
Stefan
At 04:03 PM 2/28/2004, you wrote:
I have been through the documentation and I am still confused. I would like to set a variable (<@VAR username) That would not expire. I am building a form nd I would like to give the ability to the users to remember their login so when they come back, they will not need to log in again. The username is the only variable I need saved.
Can a variable be saved indefinetly? Does someone have an example on how to do this?
<ASSIGN username "Fred" scope="cookie"> Then what?
Sorry for the rudementary post. I have not used cookies before and feel I need an example to get started. Lot of stuff about http headers that I don't understand when I search the archive.
Thanks -- ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
========================================================
Database WebWorks: Dynamic web sites through database integration
http://www.DatabaseWebWorks.com
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf