Re: Trigger to empty shopping cart folder
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 60772
interpreted = N
texte = Paul Berman wrote:> Hi> > How would I go about setting a trigger to empty the shopping cart folder?> > or is there another way to ensure the oldest file in ther is only a day or> so old> > THanks> Paul> Sure, every Cart contains a time and date. With this in mind, you couldmanipulate the cart down to the second if you would like.basically, you'll probably want to fire off a trigger ever half an hour orsomething. The page that the trigger hits would decide what carts to delete.If it were me, I'd use seconds since epoch but you may just want to go offof date to get it done easier.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, Custom Tags and Labels -> 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/
Associated Messages, from the most recent to the oldest:
Paul Berman wrote:> Hi> > How would I go about setting a trigger to empty the shopping cart folder?> > or is there another way to ensure the oldest file in ther is only a day or> so old> > THanks> Paul> Sure, every Cart contains a time and date. With this in mind, you couldmanipulate the cart down to the second if you would like.basically, you'll probably want to fire off a trigger ever half an hour orsomething. The page that the trigger hits would decide what carts to delete.If it were me, I'd use seconds since epoch but you may just want to go offof date to get it done easier.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, Custom Tags and Labels -> 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/
Donovan Brooke
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:
How far do [showif]s go? (1997)
[date] problem with %d%m%Y (1998)
web delivery (1997)
remotely add + sign (1997)
More on the email templates (1997)
Search for dates greater than [date] (1997)
[WebDNA] Question on table search (2011)
WC2.0 Memory Requirements (1997)
Email (2000)
Problems passing [SKU] with $Replace in 2.0 (1997)
carriage returns in data (1997)
Error: Too many nested [xxx] contexts (1997)
(2000)
Page Breaks in Word (2003)
Webcatalog acgi conflict? (1999)
access denied problem (1997)
WebCat2b13MacPlugIn - More limits on [include] (1997)
How to unsubscribe (2000)
PCS Frames-Default page is solution! (1997)
[sendmail] on NT? (1997)