Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Mar 01, 2013 09:36 PM by kgbshnik
Feb 21, 2013 08:36 PM|LINK
I have a WS that queries a SDE geodatabase every 30 seconds. The problem is that it does not pick up any new entries into the geodatabase after the first time it queries it. For example:
1. Program starts and first query is executed. 5 rows returned.
2. A row is added to the geodatabase.
3. The second query still returns 5 rows.
4. Go To step 2
The reason I believe it has something to do with caching is because I took the exact same code and placed it as a class inside my project and once the row is added, the second query immediately returns 6. I am using the WS because it provides a convenient
Async method and there is some code I want to execute if the WS call returns "true" for increase in row count.
I have set my WS method to
[WebMethod(CacheDuration = 0, BufferResponse = false)]
and in the web config of the WS I have placed
<cache disableExpiration="false" privateBytesLimit="0"/>
I am using VS 2005, .NET 2.0.
Has anyone experienced anything similar / know how to fix it?
Mar 01, 2013 07:52 AM|LINK
Mar 01, 2013 09:36 PM|LINK