Cache?

C

Chris

Hi

I'm new to web services but have done a bit with web applications
Is there a cache in web services as in web applications
I want to read in some variables that will live for ever but I don't want to have to read them every time some connects to the web service

Thanks in advance

Chris.
 
M

Mickey Williams

I'm new to web services but have done a bit with web applications.
Is there a cache in web services as in web applications?
I want to read in some variables that will live for ever but I don't want
to have to read them every time some connects to the web service.

Yes - but the cache doesn't work unless you have a real SOAP message - you
won't hit the cache if you're using the not-quite-SOAP-test-page. Add a
CacheDuration property to your WebMethod attribute.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top