How does one remove a value from sessionScope?

  • If one XPage sets sessionScope.foo=“bar”, how would a completely different XPage delete sessionScope.foo, such that !sessionScope.foo would be true? I tried:

sessionScope.remove(“foo”);

to no avail, which was passing strange to me, as everything I read on the web indicated this should work. The clencher was this:

http://www-10.lotus.com/ldd/ddwiki.nsf/dx/xpages-scoped-variables.htm

which covers Scoped Variables and is actually refreshingly explicit.

  • Any idea why remove() isn’t working?

Thanks for your time…