I can not understand what is happening. On one of env. of my webapp (written using ExtJS 4.0) - I see that the login request completed successfully, but the subsequent request failed with error 401.
When in the browser (F12) I found a little more that the first request response header has a JSESSIONID that is set as a cookie, but the second request does not send it to the request headers. Therefore, the second query creates a new session and returns a new JSESSIONID.
In the client code where the request is sent,
Ext.Ajax.request({url:'', callback..}) - there is no explicit JSessionId setting or any cookie.
The strange part does not contain all the cookie keys, only JSESSIONID, which means that cookies are not disabled and set by the browser.
Why does the browser not send JSESSIONID? I tried this in firefox / chrome.
Also this only happens in my local env., QA env. webapp is working fine.
source share