开发者

How know if a Session is valid

开发者 https://www.devze.com 2023-03-13 22:37 出处:网络
I\'d like to know the best way to know if a Session variable is still valid开发者_如何学运维 (session not expired, timeout). I\'d like avoid the call a method on each action.

I'd like to know the best way to know if a Session variable is still valid开发者_如何学运维 (session not expired, timeout). I'd like avoid the call a method on each action.

Thanks,


You can use Filters. This link shows you how

0

精彩评论

暂无评论...
验证码 换一张
取 消