Re: Folder modify times

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 55031
interpreted = N
texte = So the page that does the listfiles on the orders folder shows the correct folder mod time? After you have loaded this page, do the other pages then show the correct folder mod time as well? If so, it sounds to me like Windows doesn't update the folder info until somebody actually looks at the files inside (via listfiles). You could try experimenting with a test folder. Do a writefile to create a new file in the folder, then check the mod time of the folder. If it hasn't changed, try doing a listfiles on the folder then check the mod time of the folder again to see if it has then been updated. - brian On Dec 17, 2003, at 4:43 AM, William DeVaul wrote: > Thanks for the suggestions. It's not a server time zone issue (it's a > three > hour lag that I'm well aware of). > > I don't know about what windows reports because I don't have physical > access > to the machine. > > What I do know is that the folder is updated with a new order so the > modify > time should be updated too. > > Here's an example from this morning: > Each admin page has a navigation bar that should show the modify time > of the > Orders folder so I know when the last order was made. It's actually > the > identical code on each page for the navbar, so it should work no > differently. > > I pulled the main admin page to check activity on the site around 7am. > I > also checked the admin page showing how many browsers actually > registered > today. On each of these two pages (which had data from around 7am) > shows > the Orders folder modify time as 7pm yesterday (my time/server 4pm). > > When I clicked on the admin page that shows the actual orders, I got a > complete listing of orders (it actually does a listfiles for orders in > the > Orders folder so I know the Orders folders was updated). There was an > order > placed at 22:15 yesterday. That's 1:15am where I am. > > Why didn't the modify time for the Orders folder show that in the two > admin > pages. Of course the page that shows the orders has the same navbar > code to > reveal the modify time of the Orders folder. It was correct when > viewed > (server time 22:15 yesterday). > > Does this have to do with Windows caching the modify time or with > WebCatalog? It's aggravating because the page that shows the actual > orders > takes a while to generate. I haven't tried to see what happens if I > FTP > into the server first, although that might confirm a Windows caching > issue > if WebCatalog is then updated on the next admin page view. > > Bill > > > on 12/16/03 6:47 PM, Brian Fries at webdna@brainscansoftware.com wrote: > >> Does the folder modification time differ from what Windows reports? >> I'm >> not a Windows guy, but at least on some systems the folder >> modification >> is only updated when files are added to or removed from the folder, >> not >> when files already in the folder are modified. Could that be the case >> for you? >> >> - brian >> >> On Dec 16, 2003, at 3:11 PM, devaulw@onebox.com wrote: >> >>> OK, here's what seems like a strange issue for me. >>> >>> I have a page that (1) displays the Orders folder modification time >>> and (2) shows recent database activity. >>> >>> I know for a fact that the database results on the page are fresh and >>> upto the minute because it returns records that were just added. >>> >>> The Orders folder modification time is another story. I know the >>> modification time is inaccurate because it will show an time for >>> earlier in the day. When I check to see what orders have been >>> placed, >>> there are orders within the last few hours. Why isn't the correct >>> modification time being shown? It's obviously not a browser cache >>> issue because the other data on the page is current. >>> >>> The platform is Windows IIS, WebCat 4.5. >>> >>> Thanks for any insight. >>> >>> Bill >>> > -- Brian Fries, BrainScan Software -- http://www.brainscansoftware.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: Folder modify times ( Brian Fries 2003)
  2. Re: Folder modify times ( William DeVaul 2003)
  3. Re: Folder modify times ( Brian Fries 2003)
  4. Re: Folder modify times ( "Dan Strong" 2003)
  5. Folder modify times ( devaulw@onebox.com 2003)
So the page that does the listfiles on the orders folder shows the correct folder mod time? After you have loaded this page, do the other pages then show the correct folder mod time as well? If so, it sounds to me like Windows doesn't update the folder info until somebody actually looks at the files inside (via listfiles). You could try experimenting with a test folder. Do a writefile to create a new file in the folder, then check the mod time of the folder. If it hasn't changed, try doing a listfiles on the folder then check the mod time of the folder again to see if it has then been updated. - brian On Dec 17, 2003, at 4:43 AM, William DeVaul wrote: > Thanks for the suggestions. It's not a server time zone issue (it's a > three > hour lag that I'm well aware of). > > I don't know about what windows reports because I don't have physical > access > to the machine. > > What I do know is that the folder is updated with a new order so the > modify > time should be updated too. > > Here's an example from this morning: > Each admin page has a navigation bar that should show the modify time > of the > Orders folder so I know when the last order was made. It's actually > the > identical code on each page for the navbar, so it should work no > differently. > > I pulled the main admin page to check activity on the site around 7am. > I > also checked the admin page showing how many browsers actually > registered > today. On each of these two pages (which had data from around 7am) > shows > the Orders folder modify time as 7pm yesterday (my time/server 4pm). > > When I clicked on the admin page that shows the actual orders, I got a > complete listing of orders (it actually does a listfiles for orders in > the > Orders folder so I know the Orders folders was updated). There was an > order > placed at 22:15 yesterday. That's 1:15am where I am. > > Why didn't the modify time for the Orders folder show that in the two > admin > pages. Of course the page that shows the orders has the same navbar > code to > reveal the modify time of the Orders folder. It was correct when > viewed > (server time 22:15 yesterday). > > Does this have to do with Windows caching the modify time or with > WebCatalog? It's aggravating because the page that shows the actual > orders > takes a while to generate. I haven't tried to see what happens if I > FTP > into the server first, although that might confirm a Windows caching > issue > if WebCatalog is then updated on the next admin page view. > > Bill > > > on 12/16/03 6:47 PM, Brian Fries at webdna@brainscansoftware.com wrote: > >> Does the folder modification time differ from what Windows reports? >> I'm >> not a Windows guy, but at least on some systems the folder >> modification >> is only updated when files are added to or removed from the folder, >> not >> when files already in the folder are modified. Could that be the case >> for you? >> >> - brian >> >> On Dec 16, 2003, at 3:11 PM, devaulw@onebox.com wrote: >> >>> OK, here's what seems like a strange issue for me. >>> >>> I have a page that (1) displays the Orders folder modification time >>> and (2) shows recent database activity. >>> >>> I know for a fact that the database results on the page are fresh and >>> upto the minute because it returns records that were just added. >>> >>> The Orders folder modification time is another story. I know the >>> modification time is inaccurate because it will show an time for >>> earlier in the day. When I check to see what orders have been >>> placed, >>> there are orders within the last few hours. Why isn't the correct >>> modification time being shown? It's obviously not a browser cache >>> issue because the other data on the page is current. >>> >>> The platform is Windows IIS, WebCat 4.5. >>> >>> Thanks for any insight. >>> >>> Bill >>> > -- Brian Fries, BrainScan Software -- http://www.brainscansoftware.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 Fries

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:

extending webcatalog (1997) webcat database helper question (2000) [WebDNA] Dynamic vertical columns (2008) Test (2003) Email problem.. (2004) Whats wrong with this???? (2001) WebCat2 Append problem (B14Macacgi) (1997) Emailer (WebCat2) (1997) [WebDNA] Foreign characters (2009) (2009) anyone moved to v6? (2004) Linux problems (2000) [OT] Test - THE ANSWER (2003) SHOWIF/HIDEIF empty fields (2005) Limitations on fields? Server is crashing (1997) PC Hub and Web Merchant (1998) What is WebDNA (1997) quantity minimum problem (1997) reverse loops (1998) Multiple catalog databases and showcart (1997) Version 4? (2000)