CacheDuration and BufferResponse

D

deja

hi,

when I use CacheDuration by itself, I seem to get expected results. If
I call my webmethod the first time it gets the results from the
database. I then update the database, call the method again I get
unchanged results (ie assuming from the cache).

If I add BufferResponse=false to the attributes, it seems to stop
working. I am compiling a release version of webservice and test web
app on my PC. Then opening 2 browser sessions, navigating to the test
app and pressing the button which calls the web method and shows the
results. Using VS 2005. Tried Firefox and Internet Explorer.

There's obviously something basic which I'm doing wrong. Can anyone
point it out?

Thanks
Phil
 

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

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top