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:
Major Security Hole (1998)
'RequiredField' Question (1998)
What am I missing (1997)
Forms Search Questions (1997)
For those of you not on the WebCatalog Beta... (1997)
displaying New products (using [date]) (1997)
WebCat2.0 [format thousands .0f] no go (1997)
Online reference (1997)
[ModDate] & [ModTime] ? (1997)
Emailer & IMail List Server (1998)
upgrading (1997)
WebCat2b15MacPlugin - showing [math] (1997)
Fwd: Problems with Webcatalog Plug-in (1997)
founditems / writefile (2005)
Assigning new CART number (1997)
Satisfy Me ! (2000)
[WebDNA] Sorry WebDNA server not running /Template ERROR/ Slow (2019)
MasterCounter Help (1998)
Appending current [date] to a database (1997)
Clearing orders and database help! (1997)