Q: for those who use Cookies for sessions?

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 58832
interpreted = N
texte = Hello... quiet list last couple of weeks.. Heres one: I have a site that I'm working on and I am implimenting a cart session (cookie with value of [cart]). I'm doing this instead of passing [cart] for the first time. The basic steps when adding an item to a cart are: 1. check for cookie 2. if not there, setcookie 3. redirect to that same page (cart page) carrying action and SKU. 4. add the item. simple enough?? that page is shows it adds just fine.. one item in cart etc.. However, then I click on any link following and it adds another one. It only seems to happen when the session cookie is not there and has to be created.. from then on, adding/deleting works fine.. its almost as if there is a cached addlineitem command with the SKU?? but there isn't. Any ideas? thx.. I thought about trying to count the number of addlineitems that get initiated throughout the whole page but haven't quite figured out how. Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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)
Hello... quiet list last couple of weeks.. Heres one: I have a site that I'm working on and I am implimenting a cart session (cookie with value of [cart]). I'm doing this instead of passing [cart] for the first time. The basic steps when adding an item to a cart are: 1. check for cookie 2. if not there, setcookie 3. redirect to that same page (cart page) carrying action and SKU. 4. add the item. simple enough?? that page is shows it adds just fine.. one item in cart etc.. However, then I click on any link following and it adds another one. It only seems to happen when the session cookie is not there and has to be created.. from then on, adding/deleting works fine.. its almost as if there is a cached addlineitem command with the SKU?? but there isn't. Any ideas? thx.. I thought about trying to count the number of addlineitems that get initiated throughout the whole page but haven't quite figured out how. Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o DONOVAN D. BROOKE Eucalyptus Design <-Web Development (specializing in eCommerce), -> <-Graphic Design, and Pre-Press Consultation -> ADDRESS:> Donovan Brooke DBA Eucalyptus Design N2862 Summerville Park Rd. Lodi, WI 53555 PH:> 1.608.592.3567 Web:> http://www.euca.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o ------------------------------------------------------------- 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/ Donovan Brooke

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:

Sort Order on a page search (1997) Maybe off topic but how to charge (1997) CyberCash problem in OS9/4.5 -> OSX/5.1 transition (2003) [WebDNA] Add to cart (2014) Wanted: More Math Functions (or, Can You Solve This?) (1997) Requiring that certain fields be completed (1997) NY taxRates.db? (1997) Bug alert! (1997) a search based on ^(contains) (1998) Sorting by date (1997) sendmail error (1997) WCS Newbie question (1997) [WebDNA] WebDNA Corp (2008) WebSTAR plugin update (2004) Summing fields (1997) WebDNA Writer Needed (1997) OT: Collaborative Browsing (2000) WCS Newbie question (1997) form crasehes server (1997) multiple record replace (2001)