How long does a cart last?

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 41222
interpreted = N
texte = Hi guys, been a while since my last post.I am writing some code to remember a users items that were added to a cart from visit to visit.I use a cookie to store the cart number and then when they come back to the site I re-instate the cart from the shopping carts directory and continue to use it.My problem is that after about 6-10 hours, the cart becomes unavailable.The thing is that the webcatalog admin has a setting for how often to sweep the shopping carts directory and it is set to 24 hours. The other thing is that the cart hasnıt been removed from the directory ­ it is still there and I can rip it down using FTP and see its contents. I use the fileinfo tag to make sure it exists before trying to access it and it always passes this test but I get the error message ³canıt access cart ignoring lineitems².This is kind of strange and was wondering if anybody knows anything about it before I rip all the code out and start to use databases instead.-- Andrew Simpson Web DevelopmentBlackpepper Interactive Ltd PO Box 99805 Newmarket4 Clayton Street Newmarket AucklandPh: +64 9 520-6281 Mob: 0272733270 Fax: +64 9 524-1849http://www.blackpepper.co.nz------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: How long does a cart last? (Michael Davis 2002)
  2. Re: How long does a cart last? (Andrew Simpson 2002)
  3. Re: How long does a cart last? (Stuart Tremain 2002)
  4. How long does a cart last? (Andrew Simpson 2002)
Hi guys, been a while since my last post.I am writing some code to remember a users items that were added to a cart from visit to visit.I use a cookie to store the cart number and then when they come back to the site I re-instate the cart from the shopping carts directory and continue to use it.My problem is that after about 6-10 hours, the cart becomes unavailable.The thing is that the webcatalog admin has a setting for how often to sweep the shopping carts directory and it is set to 24 hours. The other thing is that the cart hasnıt been removed from the directory ­ it is still there and I can rip it down using FTP and see its contents. I use the fileinfo tag to make sure it exists before trying to access it and it always passes this test but I get the error message ³canıt access cart ignoring lineitems².This is kind of strange and was wondering if anybody knows anything about it before I rip all the code out and start to use databases instead.-- Andrew Simpson Web DevelopmentBlackpepper Interactive Ltd PO Box 99805 Newmarket4 Clayton Street Newmarket AucklandPh: +64 9 520-6281 Mob: 0272733270 Fax: +64 9 524-1849http://www.blackpepper.co.nz------------------------------------------------------------- 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://search.smithmicro.com/ Andrew Simpson

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:

WC Database Format (1997) Attention all list readers (1997) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) Questions To Answer (1997) Emailer (WebCat2) (1997) Shopping cart now bad (1997) More on the email templates (1997) Retaining formatting (2000) Summing fields (1997) 4.0 send email ticks. . (2000) Help! WebCat2 bug (1997) Nested tags count question (1997) help with autenticate (1998) Cleaning up all the shopping carts (2000) Merging databases (1997) off topic - dna snipets (1997) japanese characters (1997) ShowNext for method=POST (1997) Shipping Help! (1998) Add to a field (1998)