Hi everyone,
I'm currently developing a SOI to restrict access to layers of a service based on the logged in user.
My problem is that the first request the Javascript api sends, the one which gets the description of the service like SRID, Layers etc., is cached by the server. So if I change the permissions of a user, he still gets the old cached service description.
The export Image request on the other hand don't get cached.
I already removed the browser cache, disabled caching on my IIS (arcgis webadaptor) and I also tried adding a random timestamp to the ServiceUrl to prevent caching the description request. But the response is always the same and my debugger of the SOI also doesn't get triggered.
Is there a propertie or something to tell arcgis not to cache any request of the service.
If I restart the service, my debugger gets trigger on the description request, but only once.
What can I do to prevent this caching?
best regards
Sebastian