[英]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. 我尝试通过将其设置为
static
变量,但这无法正常工作,我认为我理解静态错误。
是的,如果在关闭页面后未删除会话cookie或使会话cookie过期,请输入cookie的使用寿命。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.