Take a look at an article I posted on Scott's site a year ago.  It shows 
how to do this.

http://xmlx.ca/articles/625.aspx

Disclaimer:
1.  There is a flaw in the example:  After the user_reference times out 
on the server, the example will not with forms.  Instead you need to save 
all POSTARGs as user varsat the beginning of an appfile and then use the 
saved vars.
2. Or, as suggested by Scott, use a TCF instead of a redirect to handle 
the "behind-the-scenes" login after variables expire.
3.  As with all authentication schemes, it's easy to compromise when 
authentication data is sent in the clear.

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


Bill Conlon

To the Point
345 California Avenue Suite 2
Palo Alto, CA 94306

office: 650.327.2175
fax:    650.329.8335
mobile: 650.906.9929
e-mail: mailto:[EMAIL PROTECTED]
web:    http://www.tothept.com


________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to