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

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 58852
interpreted = N
texte = Donovan - loook through the talk list archoives from about 2 months ago. There was some discussion about page refresh and redirects regarding cookies. I use them in a security sequence, but had problems using redirects until I sim-plified the setup based on those discussions... but I do not rememebr exactly waht this was about, except that I THINK the system will check for the cookie on a new page request, but not a redirect - but do not yake that to the bank without confirmation. Larry On Jul 21, 2004, at 9:18 AM, 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/ > > Larry Hewitt360.807.1100 OFFICE HCO, LLC360.807.1103 FAX 109 No. Tower360.880.4855 CELL P.O. Box 1017larryh@hewittco.com Centralia, WA 98531www.votewashington.org www.hewittco.com ------------------------------------------------------------- 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)
Donovan - loook through the Talk List archoives from about 2 months ago. There was some discussion about page refresh and redirects regarding cookies. I use them in a security sequence, but had problems using redirects until I sim-plified the setup based on those discussions... but I do not rememebr exactly waht this was about, except that I THINK the system will check for the cookie on a new page request, but not a redirect - but do not yake that to the bank without confirmation. Larry On Jul 21, 2004, at 9:18 AM, 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/ > > Larry Hewitt360.807.1100 OFFICE HCO, LLC360.807.1103 FAX 109 No. Tower360.880.4855 CELL P.O. Box 1017larryh@hewittco.com Centralia, WA 98531www.votewashington.org www.hewittco.com ------------------------------------------------------------- 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/ Larry Hewitt

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:

New public beta available (1997) RE: Loss in form (1998) WebCat2b15MacPlugin - showing [math] (1997) Multiple catalog databases and showcart (1997) Hierarchy of form/text/math variables (2000) [isfile] ? (1997) bounces (2008) Newbie problem blah blah blah (1997) [format xs] freeze (1997) WebCat2b13MacPlugin - [math][date][/math] problem (1997) Nested vs conditional (1997) Use of & in text areas follow-up (1998) webcat, osx, and includes (2001) quantity minimum problem (1997) Timer Values on [redirect] (1998) Likelihood of a duplicate (Palle you around?) (2005) PSC recommends what date format yr 2000??? (1997) webcat NT (1998) expired beta (1997) Superfilous Characters (1998)