如何清空Session

 

for (Object name : Collections.list(session.getAttributeNames()))
{
session.removeAttribute((String)name);}
原文地址:https://www.cnblogs.com/hephec/p/4557143.html