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

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 58857
interpreted = N
texte = 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) Donovan Donovan Brooke wrote: > 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)
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) Donovan Donovan Brooke wrote: > 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:

[WebDNA] WebDNA 7 (2011) Using the Tearoom Teamplates (2000) sort problems....bug or brain fart? (1997) Random Number Generator works for Ranges of Numbers (1997) about this server and links to who (1997) OK, here goes... (1997) Harvesting invalid email addresses from bounced emails??? (2000) webstar/webcat monitoring aides? (1999) Execute Applescript (1997) Negative number search (2000) I don't think my install worked (2003) Purchase Plugin Missing (1996) [shownext] (1998) Webstar 1.3.1 PPC (1997) multi-paragraph fields (1997) Help! WebCat2 bug (1997) WebCat2b12--[searchstring] bug (1997) & in Lookups (1997) [OT] Form POSTing with LONG variable (2007) WebCat hosting providers? (1997)