Re: How long does a cart last?

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 41223
interpreted = N
texte = AndrewTreat it as a file rather than a cart, store them in a directory called Current_orders or the like and then WebCat won't do its funky thing to the file. -- Stuart Tremain idfk web developments - AustraliaOn Friday, 5 July 2002, Andrew Simpson wrote: >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 Development > >Blackpepper Interactive Ltd >PO Box 99805 >Newmarket > >4 Clayton Street >Newmarket >Auckland > >Ph: +64 9 520-6281 >Mob: 0272733270 >Fax: +64 9 524-1849 > >http://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/ >------------------------------------------------------------- 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)
AndrewTreat it as a file rather than a cart, store them in a directory called Current_orders or the like and then WebCat won't do its funky thing to the file. -- Stuart Tremain idfk web developments - AustraliaOn Friday, 5 July 2002, Andrew Simpson wrote: >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 Development > >Blackpepper Interactive Ltd >PO Box 99805 >Newmarket > >4 Clayton Street >Newmarket >Auckland > >Ph: +64 9 520-6281 >Mob: 0272733270 >Fax: +64 9 524-1849 > >http://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/ >------------------------------------------------------------- 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/ Stuart Tremain

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:

GIF Converter vs. Clip2Gif (2000) The beginning (1997) Menu Syntax on Edit/Add templates (1998) Friendly , quick 'security' check, please (2003) [solved] WebDNA 5.1 and Mac OS X Server v10.3 - Working ??? (2003) [SearchString] problem with [search] context (1997) [searchString] (1997) success - serial numbers and webmerch (1997) Is there a max number of fields? (1998) Extracting undeliverable email addresses (2003) OS X permissions to write to Globals directory (2003) PhotoMill -> PhotoMaster (1997) Mac Typhoon, WebCatalog Plugins Work Better With FireSite Now (1998) select multiple 2 more cents (1997) Multiple Newcarts (1996) request for string functions (1998) Running _every_ page through WebCat ? (1997) Text data with spaces in them... (1997) Need relative path explanation (1997) includes and cart numbers (1997)