Dynamic CacheDuration

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • André Schubert

    Dynamic CacheDuration

    Morning,

    how can i change the cache duration of a webservice methode dynamically ?

    THX

    André


  • Salvador

    #2
    RE: Dynamic CacheDuration

    Hi,

    I am not 100% sure but I think that attributes can not receive dynamic
    values and that's why you can not put any non constant there.

    The workaround is to use the Cache object on System.Web to response with the
    dynamic cache.

    Hope this helps
    Salva


    "André Schubert" wrote:
    [color=blue]
    > Morning,
    >
    > how can i change the cache duration of a webservice methode dynamically ?
    >
    > THX
    >
    > André
    >
    >
    >[/color]

    Comment

    Working...