CacheDuration and BufferResponse

Discussion in 'ASP .Net Web Services' started by deja@2bytes.co.uk, Mar 1, 2007.

  1. Guest

    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
     
    , Mar 1, 2007
    #1
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. usamedb208

    CacheDuration is not working

    usamedb208, Jan 29, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    586
    usamedb208
    Jan 29, 2004
  2. Arpan

    CacheDuration In WebService?

    Arpan, Sep 5, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    604
    Arpan
    Sep 5, 2006
  3. Manuel Trunk

    problem with CacheDuration attribute

    Manuel Trunk, Nov 4, 2003, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    187
    Manuel Trunk
    Nov 4, 2003
  4. Tim Scarfe

    ASP.NET Web Services. Web Method CacheDuration Issue.

    Tim Scarfe, Feb 4, 2004, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    198
    Tim Scarfe
    Feb 4, 2004
  5. Manfred Steyer

    BufferResponse property

    Manfred Steyer, Feb 20, 2004, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    171
    Manfred Steyer
    Feb 20, 2004
  6. Francis Shanahan

    CacheDuration from Internet explorer

    Francis Shanahan, Dec 28, 2004, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    259
    Francis Shanahan
    Dec 28, 2004
  7. Kenny M.

    BufferResponse

    Kenny M., Apr 16, 2005, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    175
    Kenny M.
    Apr 16, 2005
  8. CacheDuration question

    , May 16, 2005, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    214
    Yunus Emre ALPĂ–ZEN [MCAD.NET]
    May 16, 2005
Loading...