G
Glenn Michael
Hi,
What needs to be done to get Webmethod caching to work in the following
code? The code returns data but does not cache as expected. I'm using Ajax
Beta 2. Is this enough information? Thanks in advance for your help.
'ONE OF MANY CALLING WEB SERVICE
Public Sub subWebServiceCall()
Dim qdt As New DataTable
Dim pageWebService As New ws.csasWS 'NAME SPACE & WS PAGE NAME
qdt = pageWebService.funcWS() 'FUNCTION CALLED IN WEBSERVICE
Call subContinue(qdt )
End Sub
'WEB-METHOD IN WEB-SERVICE
<WebMethod(CacheDuration:=10)> _
Public Function funcWS() As DataTable
Dim dtReturn As DataTable
dtReturn = funcGetData()
Return (dtReturn)
End Function
What needs to be done to get Webmethod caching to work in the following
code? The code returns data but does not cache as expected. I'm using Ajax
Beta 2. Is this enough information? Thanks in advance for your help.
'ONE OF MANY CALLING WEB SERVICE
Public Sub subWebServiceCall()
Dim qdt As New DataTable
Dim pageWebService As New ws.csasWS 'NAME SPACE & WS PAGE NAME
qdt = pageWebService.funcWS() 'FUNCTION CALLED IN WEBSERVICE
Call subContinue(qdt )
End Sub
'WEB-METHOD IN WEB-SERVICE
<WebMethod(CacheDuration:=10)> _
Public Function funcWS() As DataTable
Dim dtReturn As DataTable
dtReturn = funcGetData()
Return (dtReturn)
End Function