Re: instant cookies?

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 23178
interpreted = N
texte = >Now it happens, that I can't set and read a cookie on the same page - I >need a second call. I tried to redirect to the same page after I set the >cookie, to no avail. Just a manual reload displays the new value.That's just how the cookie crumbles. The first hit asks the server the send the cookie back to the browser. The browser sends the cookie back on the next hit. Until we get time travel working, you can't ask a browser to send a cookie that it doesn't yet know about on the first hit.Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: instant cookies? (Peter Ostry 1999)
  2. Re: instant cookies? (Brian B. Burton 1999)
  3. Re: instant cookies? (Christer Olsson 1999)
  4. Re: instant cookies? (Peter Ostry 1999)
  5. Re: instant cookies? (PCS Technical Support 1999)
  6. Re: instant cookies? (PCS Technical Support 1999)
  7. Re: instant cookies? (Christer Olsson 1999)
  8. instant cookies? (Peter Ostry 1999)
>Now it happens, that I can't set and read a cookie on the same page - I >need a second call. I tried to redirect to the same page after I set the >cookie, to no avail. Just a manual reload displays the new value.That's just how the cookie crumbles. The first hit asks the server the send the cookie back to the browser. The browser sends the cookie back on the next hit. Until we get time travel working, you can't ask a browser to send a cookie that it doesn't yet know about on the first hit.Technical Support | ==== eCommerce and Beyond ==== Pacific Coast Software | WebCatalog, WebMerchant, 11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster, San Diego, CA 92128 | Typhoon 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/ PCS Technical Support

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

I think I found a bug (2001) WebCat2 Append problem (B14Macacgi) (1997) Re2: Calculating multiple shipping... (1997) Nav. 4 probs with cart (1997) Max Record length restated as maybe bug (1997) Not really WebCat (1997) WebCat2: multiple currency support (1997) random sorting broken (was Re[2]: php vs WebCatalog) (2000) Extended [Concvertchars] needed (1997) Finding max value for a field (1997) Timeout question .. (2003) [WebDNA] .htm files (2008) Merging databases (1997) [WebDNA] Carriage Return/Line Feed Issue (2009) email messages (1997) Using Cookie for client specific info? (1997) Return records from another (1997) emailer (1997) Error (1997) WC2b15 - [HTMLx]...[/HTMLx] problems (1997)