Bob Shubert at Tronics verified that the simple act of reading the value of a cookie destroys the cookie and replaces it with a session cookie. He verified that it doesn't matter if the cookie was created with the assign action or the assign metatag. Both methods successfully create a persistent cookie. Reading the cookie kills it.
Stefan
At 02:44 PM 8/29/2003 -0700, you wrote:
1. Have you verified that you are assigning the cookies with <@ASSIGN> and not the ASSIGN Action? This bug (ASSIGN ACTION expires cookies immediately) perplexed me for some time.
2. Have you verified that the cookie expiration date set by the server is actually in the future?
3. Have you checked cookie expiration in in the browser to make sure the expiration date is what you wanted?
4. To assign cookies: <@ASSIGN NAME=name VALUE=value [SCOPE=myscope] [EXPIRES=timestamp] [PATH=path] [DOMAIN=domain] [SECURE=true|false]> <@PURGERESULTS> <@ASSIGN NAME="httpHeader" SCOPE="request" VALUE="HTTP/1.1 200<@crlf><@USERREFERENCECOOKIE><@SETCOOKIES><@crlf><@crlf>">
>ok, I seriously need to workaround this bug. > >I need to refresh a cookie every time there is a hit to keep it from >disappearing at the end of a session. Can I do this in the header file? >I look at it and it is empty, so I gather I'd have to reproduce what's >in a default header + re-send the cookie. Will this work? I know I'll >just do an @assign if I find the cookie, but what else goes in a >header? Does witango read cookies after the header is processed or >before? (if after, then this wouldn't work) > >Anyone know about headers? > > > > >On Friday, August 29, 2003, at 09:21 AM, Roland Dumas wrote: > >> This bug is more serious than I originally thought. It actually turns >> every cookie into a session cookie at every/any hit of a taf/tml - not >> just when you put a tag in that reads it, but any hit. This is a >> significant problem. >> >> it means that you have to create some sort of header that is always >> reading and rewriting a cookie at every hit. (Can someone help me >> figure out what file to edit and how?) >> > >________________________________________________________________________ >TO UNSUBSCRIBE: Go to http://www.witango.com/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/maillist.taf
========================================================
Database WebWorks: Dynamic web sites through database integration
http://www.DatabaseWebWorks.com
________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
