Re: Why don't my carts expire

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 17925
interpreted = N
texte = >Date: 25 May 1998 00:02:53 >From: Steve Rosenbaum >Subject: Why don't my carts expire > > >How do I get my carts to expire? They seem to stay in my shopping carts >folder(s) forever. >I can't seem to find the appropriate documentation or setting.I had a similar problem - my carts were building up in the carts folder. I recalled that there was a pref setting for sweeping carts but the template for prefs that came with 2.1.3 didn't allow me to set or check this. So, I opened my prefs in a text editor and found the sweepcart entry which was set to 24. This seemed correct, but my cart folder was filled with a months worth of carts (1000's of files!!!). I was confused. I looked at the prefs file from a clean install of 2.1.3 (when installing 2.1.3 I had kept my old prefs). Beleive it or not the two sets of prefs were significantly different - not just the settings but the pref fields themselves. In the new set of prefs there was no mention of sweepcart frequency. So I put the new (clean install) pref file in my WebCat folder on my production server and restarted WebCat. After a few minutes carts older than 24 hours disappeared. (Of course I then had to scramble to update the security, emailer settings etc.) Go figure.Note to PCS: When upgrading a production server I have only a few minutes to bring the server down. Is there a way that the installer could transfer prefs while avoiding the above problems? Or is my case just weird?Rob Schmidt New York City rschmidt@panix.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Why don't my carts expire (Rob Schmidt 1998)
  2. Why don't my carts expire (Steve Rosenbaum 1998)
>Date: 25 May 1998 00:02:53 >From: Steve Rosenbaum >Subject: Why don't my carts expire > > >How do I get my carts to expire? They seem to stay in my shopping carts >folder(s) forever. >I can't seem to find the appropriate documentation or setting.I had a similar problem - my carts were building up in the carts folder. I recalled that there was a pref setting for sweeping carts but the template for prefs that came with 2.1.3 didn't allow me to set or check this. So, I opened my prefs in a text editor and found the sweepcart entry which was set to 24. This seemed correct, but my cart folder was filled with a months worth of carts (1000's of files!!!). I was confused. I looked at the prefs file from a clean install of 2.1.3 (when installing 2.1.3 I had kept my old prefs). Beleive it or not the two sets of prefs were significantly different - not just the settings but the pref fields themselves. In the new set of prefs there was no mention of sweepcart frequency. So I put the new (clean install) pref file in my WebCat folder on my production server and restarted WebCat. After a few minutes carts older than 24 hours disappeared. (Of course I then had to scramble to update the security, emailer settings etc.) Go figure.Note to PCS: When upgrading a production server I have only a few minutes to bring the server down. Is there a way that the installer could transfer prefs while avoiding the above problems? Or is my case just weird?Rob Schmidt New York City rschmidt@panix.com Rob Schmidt

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:

Altavista has got virus infection! (1998) How many Databases can I open? (2003) WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997) WebCat2b15MacPlugin - showing [math] (1997) BadSuffix with 2.1b3 cgi (1997) Attn: Bug in GeneralStore example b15 (1997) QuickDNS again (2007) The & Problem (1998) Static pages and store builder (2000) Error & Problem (1997) StoreBuilder Shopping Cart (2000) WebDNA Developer Resource Center (2002) WC Database Format (1997) WebCatalog NT beta 18 now available (1997) WebMerchant 1.6 and SHTML (1997) what servers are supported for Typhoon? (1997) Browser Problem?!? Still getting Error message using POST! (1997) version 2 for NT (1997) WebCatalog2 Feature Feedback (1996) Time for a hard questions. (1997)