开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜