开发者

how to determine whether a value stored in session has expired in php?

开发者 https://www.devze.com 2023-03-06 16:35 出处:网络
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().

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

0

精彩评论

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