>  (and then insert it into the database). If the request to the service
>  times out or throws an error, I use the last value from the database.

timesout?  How do you hanlde this?  Are you using CFINVOKE or CFHTTP here?

Doug

On Mon, 18 Oct 2004 21:35:54 +0800, Kay Smoljak <[EMAIL PROTECTED]> wrote:
> On Sun, 17 Oct 2004 23:42:56 -0400, Johnny Le <[EMAIL PROTECTED]> wrote:
>  > Is it possible to cache the result of a web service?  I created a web
>  > service to use in my flash application, but it takes a long time to
> return
>  > the result.  Since the result is not going to change often, I wonder if I
>  > could cache it.
>  
>  I do something similar with a currency conversion service, storing the
>  result in a database. My app checks the date of the last value in the
>  database, and if it's over a certain age, attempts to get a new value
>  (and then insert it into the database). If the request to the service
>  times out or throws an error, I use the last value from the database.
>  
>  --
>  Kay Smoljak
>  http://kay.smoljak.com/________________________________
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to