[Mono-list] WebService CacheDuration not working?
glen.ford at spinvox.com
Thu Aug 31 08:24:37 EDT 2006
Has anyone used [WebMethod(CacheDuration=n)] successfully?
It does not appear to cache (unless I am doing something really wrong) -
I have tried the following with both xsp and through Apache/mod_mono,
using the test forms and also using wget and using telnet handcrafting
<%@ WebService Language="C#" CodeBehind="CacheTest.asmx.cs"
<%@ Assembly Name="System.Web.Services" %>
public class CacheTest : System.Web.Services.WebService
private static int counter = 0;
public int cacheTestMethod()
return( ++counter );
Any ideas appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list