I need to check if a session variable exists. I can check if it is present and set to a variable:
<when expression="#[sessionVars['foo'] == 'true']">
But I want something like:
<when expression="#[sessionVars['foo']]">
-- or --
<when expression="#[Exists(sessionVars['foo'])]">
Since, sometimes 'foo' is not assigned a variable.
Any ideas?