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