<div>
<span style="font-size: 17px;">Hi, I am developing a web application with GWT, protected by Shibboleth via Apache's module. The backend is served with Glassfish.</span>
</div><div><span style="font-size: 17px;"><br></span></div><div><span style="font-size: 17px;">My application is configured as such.</span></div><div><span style="font-size: 17px;"><br></span></div><div><div><Location /myapp></div><div> AuthType shibboleth</div><div> ShibRequestSetting requireSession 0</div><div> ShibUseHeaders On</div><div> Require shibboleth</div><div></Location></div></div>
<div><div><br></div><div><span style="font-size: 17px;">The strange behavior is that when I send multiple requests (typical AJAX behavior) simultaneously to the server, it will result a session loss. That is the request leads to the creation of a new session, instead of holding on to the previously created session, on the server side. If I took off the Shibboleth, then things work fine. If I change the ShibUserHeaders to ShibUseEnvironment, then it will also work. I wonder what has caused this and is there anyway to get around it?</span></div><div><span style="font-size: 17px;"><br></span></div><div>-- </div><div>Xiaoshu Wang</div><div><br></div></div>