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:

BIG PROBLEMS with Checkboxes!!! (1998) Memory Error message (1998) Using Applescript to process WebCatalog functions (1998) Newbie problem blah blah blah (1997) Country & Ship-to address & other fields ? (1997) wc 2 pro users - sites, quotes wanted (1997) search for all (1998) state? (2004) Bug Report, maybe (1997) Webcat causing crashes left and right! (1997) File Upload (2000) OK, here goes... (1997) Browser Info.txt -- newest additions? (1997) format crash! (1997) Web Catalog Instability (2000) command line in webDNA 5?! (2003) Cookie still not working (1999) RE: Can a database get stomped by simultaneous access? (1997) Multiple security dbs (1997) SKU (1997)