简体   繁体   中英

PHP store variable even after session ends

Is there a way to keep the variable even after the page is closed? i tried by making it a static variable but this doesn't work, I think I understand static wrong.

是的,如果在关闭页面后未删除会话cookie或使会话cookie过期,请输入cookie的使用寿命。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM