Re: instant cookies?

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 23177
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:

WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997) calculating ShipCost depending on weight (1997) Format of Required fields error message (1997) moving to Redhat Enterprise 3 when is WebDNA 5.2? (2003) Explorer 3.0/ Access Denied! (1997) Help w/Multi User Admins (1997) pc (1997) I give up!! (1997) Paranoid about serial numbers...not (1998) Auto-email upon restart? (2001) [WebDNA] 4.51 upgrade to vers. 6 (2008) unix permissions for 4.0 (2000) Country & Ship-to address & other fields ? (1997) taxTotal (1997) Help ! Frustrating Problem (1999) Merging databases (1997) RE: Renaming textA (1998) Trouble with Netscape (1998) WebCat2b13MacPlugIn - syntax to convert date (1997) [OT] Industry news from Australia (2000)