03.03.2011 Henning Heinz |
XPages - What happens to your sessionScope if you logout on the web? Short Answer Your sessionScope remains. This may cause confusion if you have several logins on a Domino server and store data in sessionScope. Maybe not a typical use case but I had a case where Power Users switch users for testing functionality. They store UNIDs for caching in the sessionScope. Solution: Custom Logout function and clearing variables. A nice example can be found on the blog from Tommy Valand athttp://dontpanic82.blogspot.com/2010/06/xpages-simple-function-to-clear-scoped.html Update The LDD Wiki says that a logout should clear sessionScope which it did not in this case.In some way this makes sense as you can have a sessionScope whether being anonymous or logged-in but I am not sure if this is a bug then. |