I stored a variable in the sessio开发者_运维问答n storage in php, how should I determine whether the value stored in session has expired?
you can try isset(). if I have a session named a, so you can use isset($_SESSION["a"]) it will return false if your session has expired
精彩评论