Hey everybody.I already posted about it (feedback number WEBB7RYHDX).
There seems to be a problem with SessionScope, and session expire.
When session expires, the Domino web application seems crashed. client / server ajax exchanges still occure, but results are results prior to session expiring.
To reproduce this problem, please follow the following procedure :
1/ Create a new Notes Database on a Domino server
2/ change ACL to give yourself access
3/ change ACL to give Anonymous reader
4/ Create a new XPAGE with the following source
5/ login on server : http://server/names.nsf?Login&username=[login]&password=[password]
6/ open the XPage, and check that username isnt Anonymous, and that clicking on button changes the displayed pannel.
7/ Under IE, wait for session to expire. Under Firefox, you can just delete cookies
8/ click button. Pannels are not changing anymore.
=>For the user, the application seems freezed.
=>Ajax calls return no error, but response is the one before session to expire.
=> A full refresh makes it work again.
Any hint?
Thanks in Advance.
Luc.
<?xml version="1.0" encoding="UTF-8"?><xp:view xmlns:xp=“http://www.ibm.com/xsp/core”>
Username: <xp:text value="#{javascript:@Name('[CN]', @UserName());}"/>
<br/>
<xp:button value="clic to switch between panels" id="btn">
<xp:eventHandler event="onclick" submit="true" refreshMode="partial" refreshId="panels">
<xp:this.action>
<xp:executeScript>
<xp:this.script><![CDATA[#{javascript:
var v = sessionScope.v;
if( v == null || v == "1" )
sessionScope.v = "2";
else
sessionScope.v = "1";
}]]></xp:this.script>
</xp:executeScript>
</xp:this.action>
</xp:eventHandler>
</xp:button>
<xp:panel id="panels">
<xp:panel id="firstPanel">
<xp:this.rendered><![CDATA[#{javascript:
return sessionScope.v == null || sessionScope.v == "1";
}]]></xp:this.rendered>
<xp:label value="First panel"/>
</xp:panel>
<xp:panel id="secondPanel">
<xp:this.rendered><![CDATA[#{javascript:
return sessionScope.v == "2";
}]]></xp:this.rendered>
<xp:label value="Second panel"/>
</xp:panel>
</xp:panel>
</xp:view>