Re: ShoppingCart clearing code

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 57040
interpreted = N
texte = why not just do a listfiles and delete anything over a day old. Put it on the purchase page so it does not go off thousands of times a day... unless you get that many orders. [listfiles path=shoppingcarts/] [hideif [createdate]=[date]] [deletefile file=[filename]] [/hideif] [/listfiles] That may need to be tweaked a bit, but you get the idea. Brian Boegershausen ----- Original Message ----- From: "Paul Willis" To: "WebDNA Talk" Sent: Monday, March 22, 2004 1:31 PM Subject: ShoppingCart clearing code > Hi all > > I have given up waiting for SMSI to fix the "ShoppingCart clearing > code" bug in v5.1 (and I am not willing to pay $500 per copy for the > fix) so I am going to roll my own. > > I faintly recall someone posting some code to do this a good while back > (was it Alain?) but I can't find it in the archive. > > Anyone remember it? > > Paul > > > ------------------------------------------------------------- > 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/ > > ------------------------------------------------------------- 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: ShoppingCart clearing code ( Paul Willis 2004)
  2. Re: ShoppingCart clearing code ( "Brian Boegershausen" 2004)
  3. ShoppingCart clearing code ( Paul Willis 2004)
why not just do a listfiles and delete anything over a day old. Put it on the purchase page so it does not go off thousands of times a day... unless you get that many orders. [listfiles path=shoppingcarts/] [hideif [createdate]=[date]] [deletefile file=[filename]] [/hideif] [/listfiles] That may need to be tweaked a bit, but you get the idea. Brian Boegershausen ----- Original Message ----- From: "Paul Willis" To: "WebDNA Talk" Sent: Monday, March 22, 2004 1:31 PM Subject: ShoppingCart clearing code > Hi all > > I have given up waiting for SMSI to fix the "ShoppingCart clearing > code" bug in v5.1 (and I am not willing to pay $500 per copy for the > fix) so I am going to roll my own. > > I faintly recall someone posting some code to do this a good while back > (was it Alain?) but I can't find it in the archive. > > Anyone remember it? > > Paul > > > ------------------------------------------------------------- > 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/ > > ------------------------------------------------------------- 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/ "Brian Boegershausen"

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:

(2004) Combining search criteria in a context? (1998) Pithy questions on webcommerce & siteedit (1997) Dumb Question about Docs (1997) [WebDNA] limit found per row (2011) customer.db and forms (1999) OT: Way off-topic: Qmail and Linux (2003) Hiding HTML and breaking the page (1997) [username][password] not showing up! HELP! (1999) AuthorizeNet setup -- progress but still need input from experts! (2000) RE: Emailer prefs in two places ... (1997) [PROTECT] Problem (2003) Form/HTML Help (2000) WebCatalog can't find database (1997) [OT] (waaaay OT) further off topic than before (2004) [WebDNA] Processor Maxing out (2010) quotes and truncating? (1997) What am I missing (1997) Or Operator (2005) Lookup Notfound (1998)