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. Advertising

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:
    507
    usamedb208
    Jan 29, 2004
  2. Arpan

    CacheDuration In WebService?

    Arpan, Sep 5, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    517
    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:
    131
    Manuel Trunk
    Nov 4, 2003
  4. Manfred Steyer

    BufferResponse property

    Manfred Steyer, Feb 20, 2004, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    104
    Manfred Steyer
    Feb 20, 2004
  5. Kenny M.

    BufferResponse

    Kenny M., Apr 16, 2005, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    108
    Kenny M.
    Apr 16, 2005
Loading...

Share This Page