怎么判断session是否过期

2025-05-19 19:11:44
推荐回答(1个)
回答1:

就是实现HttpSessionListener接口,然后在sessionDestroyed()方法中执行一些操作,表示session要过期了