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 cartfrom visit to visit.I use a cookie to store the cart number and then when they come back to thesite I re-instate the cart from the shopping carts directory and continue touse 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 sweepthe shopping carts directory and it is set to 24 hours. The other thing isthat the cart hasnıt been removed from the directory it is still there andI can rip it down using FTP and see its contents. I use the fileinfo tag tomake sure it exists before trying to access it and it always passes thistest 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 itbefore I rip all the code out and start to use databases instead.-- Andrew SimpsonWeb DevelopmentBlackpepper Interactive LtdPO Box 99805Newmarket4 Clayton StreetNewmarketAucklandPh: +64 9 520-6281Mob: 0272733270Fax: +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:
Hi guys, been a while since my last post.I am writing some code to remember a users items that were added to a cartfrom visit to visit.I use a cookie to store the cart number and then when they come back to thesite I re-instate the cart from the shopping carts directory and continue touse 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 sweepthe shopping carts directory and it is set to 24 hours. The other thing isthat the cart hasnıt been removed from the directory it is still there andI can rip it down using FTP and see its contents. I use the fileinfo tag tomake sure it exists before trying to access it and it always passes thistest 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 itbefore I rip all the code out and start to use databases instead.-- Andrew SimpsonWeb DevelopmentBlackpepper Interactive LtdPO Box 99805Newmarket4 Clayton StreetNewmarketAucklandPh: +64 9 520-6281Mob: 0272733270Fax: +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)