On Sat, 28 Apr 2007 03:29:56 +0530, Vamsee Kanakala vamlists@gmail.com wrote:
I think exporting remove-session is a good idea - currently there isn't a reliable way to invalidate a current session, except for setting each session variable to nil (through session-value - or am I missing something obvious?).
You're not missing anything, but usually (at least that's the way I'm using it) you have /one/ specific value in the session which controls its validity, i.e. you'd only have to delete this one value. (Note that deleting it is slightly different from setting it to NIL.)
But I can export REMOVE-SESSION if people think that'd be useful.
And setting *session* to nil doesn't seem to do this.
Of course not. This variable is only bound to the session object while the handler is active.