Re: Q: for those who use Cookies for sessions?

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 58859
interpreted = N
texte = I use a cookie for the cart value on one of my sites as well. I've included some code at the top of every page on the site that checks for the cookie. If it's not present, I set one with the cart value. If it is present, I do nothing. This way, I don't have to worry about the cart value when something is added to the cart. When an order is completed, I delete the cookie. Many large brand sites require cookies, so I don't feel uncomfortable requiring them. This site also has an 800 number as backup. For customers without cookie support, I display the following on the cart page: We're sorry, but to shop Stoeger Publishing, you need to use a browser that enables cookies. You can place an order with us now over the phone by calling 1-877-GUN-BOOK, 24 hours a day, 7 days a week. If you have any questions about cookies or our privacy policy, click here. For help with enabling cookies in your browser, click here. On 7/22/04 11:49 AM, "Donovan Brooke" wrote: > Well, I found a bandade.. > > If I do a redirect with no params directly after the addlineitem, I avoid the > second adding to cart?? > > has to be some wierd caching thing or something. > > (hope I'm not useless chatter to this list but I like to record issues that > arise) ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Q: for those who use Cookies for sessions? ( Donovan Brooke 2004)
  2. Re: Q: for those who use Cookies for sessions? ( Terry Wilson 2004)
  3. Re: Q: for those who use Cookies for sessions? ( Clint Davis 2004)
  4. Re: Q: for those who use Cookies for sessions? ( Donovan Brooke 2004)
  5. Re: Q: for those who use Cookies for sessions? ( Donovan Brooke 2004)
  6. Re: Q: for those who use Cookies for sessions? ( Donovan Brooke 2004)
  7. Re: Q: for those who use Cookies for sessions? ( Larry Hewitt 2004)
  8. Re: Q: for those who use Cookies for sessions? ( Donovan Brooke 2004)
  9. Re: Q: for those who use Cookies for sessions? ( Donovan Brooke 2004)
  10. Re: Q: for those who use Cookies for sessions? ( Terry Wilson 2004)
  11. Re: Q: for those who use Cookies for sessions? ( devaulw@onebox.com 2004)
  12. Re: Q: for those who use Cookies for sessions? ( Donovan Brooke 2004)
  13. Re: Q: for those who use Cookies for sessions? ( Donovan Brooke 2004)
  14. Re: Q: for those who use Cookies for sessions? ( Donovan Brooke 2004)
  15. Re: Q: for those who use Cookies for sessions? ( Donovan Brooke 2004)
  16. Q: for those who use Cookies for sessions? ( Donovan Brooke 2004)
I use a cookie for the cart value on one of my sites as well. I've included some code at the top of every page on the site that checks for the cookie. If it's not present, I set one with the cart value. If it is present, I do nothing. This way, I don't have to worry about the cart value when something is added to the cart. When an order is completed, I delete the cookie. Many large brand sites require cookies, so I don't feel uncomfortable requiring them. This site also has an 800 number as backup. For customers without cookie support, I display the following on the cart page: We're sorry, but to shop Stoeger Publishing, you need to use a browser that enables cookies. You can place an order with us now over the phone by calling 1-877-GUN-BOOK, 24 hours a day, 7 days a week. If you have any questions about cookies or our privacy policy, click here. For help with enabling cookies in your browser, click here. On 7/22/04 11:49 AM, "Donovan Brooke" wrote: > Well, I found a bandade.. > > If I do a redirect with no params directly after the addlineitem, I avoid the > second adding to cart?? > > has to be some wierd caching thing or something. > > (hope I'm not useless chatter to this list but I like to record issues that > arise) ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Clint Davis

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:

Country & Ship-to address & other fields ? (1997) writefile - continued (1997) PCS Frames (1997) RE: Formulas.db + Users.db (1997) flushing databases (2003) Limiting user access to .tmpl files (1997) WebCat/Flash/authentication/protection (2000) in conversions.db crashes unix webcat (1999) Dynamic Pop up menu? (1997) Can't find templaes (1997) RE: Ongoing group search problems ... (1997) Extracting undeliverable email addresses (2003) BBEdit and WebCatalog 2.0? (1997) [ShowCart] and GET vs. POST (1997) Time/date formatting %X doesn't work ... (1997) New public beta available (1997) Sendmail question (2002) Enterprise Server (1998) Document Contains No Data! (1997) WebCatalog-NT?'s (1996)