Hi,
We are using a4j:poll as below but randomly this a4j:poll posting the ajax request with previous url and previous view state.
<h:form id="sessionCheckFormId">
<a4j:poll limitRender="true" render="poll" id="poll"
interval="#{signInMessageHandler.sessionTimeOutSec}"
enabled="#{signInMessageHandler.enablePooling}"
action="#{signInMessageHandler.forwardToLoginIfSessionEnded}"
oncomplete="if (#{signInMessageHandler.showSessionTimeOutWarning}) {#{rich:component('sessionAboutEndWarning')}.show();}" />
</h:form>
<h:form>
//main page content
</h:form>
Can you please let us know to avoid this problem?
Regards,
Nagarjun