Originally posted by Warren Bell:
Maybe I am going about this the wrong way.
You're going about it the wrong way.
As Ben pointed out (by pointing to the FAQ entry), an
IllegalStateException has little to directly do with sessions and invalidation.
Most likely, your code just isn't dealing well with some situtation which may or may not be related to session invalidation.
The stack trace that accompanies the exception is your first hook into finding the errant code.
[ August 09, 2006: Message edited by: Bear Bibeault ]