Andrew,

Is that using the Webtop to set the timeout? I was under the impression
that you had to put an actual date into the field there, not an expression.
Is that incorrect?

Thanks,

Shawn


                                                                                       
                            
                    "Hewitt,                                                           
                            
                    Andrew"              To:     Spectra-Talk 
<[EMAIL PROTECTED]>                     
                    <Andrew@wwstu        cc:                                           
                            
                    dios.com>            Subject:     RE: Page Caching                 
                            
                                                                                       
                            
                    11/15/2001                                                         
                            
                    08:30 PM                                                           
                            
                    Please                                                             
                            
                    respond to                                                         
                            
                    spectra-talk                                                       
                            
                                                                                       
                            
                                                                                       
                            



I think you'll need to set the timeout to a moment in the past rather
than the future.  Doing something like:

DateAdd("h",-2, Now())

and passing that in as your timeout essentially says that any cached
file is valid if it was created after 2 hours ago.  If there isn't a
cache file then one will be created that will be valid for the next 2
hours.

Andrew Hewitt
Webworld Studios

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 15, 2001 1:31 PM
To: Spectra-Talk
Subject: Page Caching


I'm implementing page caching on our site and have a question about what
the Cache TimeOut should be set to. By default it's 12:00:00 AM
12/30/1899.
My question is, do you have to set it to some point in the future and
then
constantly go back there and update it. None of the documentation
directly
discusses this. It doesn't look like what you do for query caching using
CreateTimeSpan. Any feedback would be greatly appreciated.

S


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to