Is there a way to get rid of a session variable?

I see the session.clearAllVariables() method but is there a way to clear just one? i.e. so it disappears entirely not just nulling the value it holds.

What do you mean by

What do you mean by "disappears entirely"? Can you just check for a null value? The reason I ask that is because if a session variable was never created and you try to access it you will get a null value. So setting it to null, then accessing it will return you the same value as if it never existed.

He's right-- If you haven't

He's right-- If you haven't set a sessionVariable at all yet, then session.getVariable("somethingUnset") will return null anyway.

I can't think of anything functionally different about session.setVariable("varName", null).