I'm seeing a problem whereby passing a query to the Esri Geoportal Server's REST API, via the Esri Resource Proxy, is causing users to be logged out of the Geoportal.

I can reproduce the problem like this:

This error does not occur for me using the sandbox Geoportal at http://gptogc.esri.com/geoportal/catalog/main/home.page (you can test it with this query)

Does anyone know why this is occurring? Is the problem occurring because the proxy is on the same machine as the Geoportal Server? Are there any known workarounds?

I don't know enough about how the login session works in the Geoportal Server, or what the Esri Resource Proxy is doing, to know how to debug this.

1 Answer 1


The problem was related to cookies, which Geoportal Server uses to track login sessions. When the proxy is on the same domain as the Geoportal Server, it strips the cookies and resets the session.

One workaround is to put the proxy onto a separate subdomain.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.