我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

PHP会在会话结束后存储变量

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.

Yes , if the session cookies are not deleted or expired after the closing the page, please put the cookies life time for your required hours..

近期文章

  • 通过插件将Word页面添加到Wordpress
  • 如何修复magento中的“无效操作码153/1/8”?
  • mysqldump - 右命令执行错误
  • 未找到Laravel类'干预\ Image \ ImageServiceProvider'
  • 查询显示php mysql两个不同列的值
  • 组合框不会显示MySQL的值
  • 使用已经涉及的按钮在MySQL表中发送AngularJS内容以在列表中推送$ scope项
  • 使用php处理作为整个pdf提交的pdf表单
  • PHPMailer Smtp连接失败。 连接超时(110)
  • 当推送通知进入时,在jqm app中打开详细信息页面
  • 在JQuery UI Dialog中包含Google可视化时间轴失败
  • 基于MySql数据的单选按钮值更改
  • 无法在Symfony 2.8中将文件表单嵌入到另一个表单中
  • 在包含它之前处理PHP文件
  • ZF2 ObjectMultiCheckbox for OneToMany,doctrine hydrator和DB storage
  • 成功交易过程后,PayPal不会返回任何变量
  • 致命错误:在Drupal 8数据库插入中调用未定义的方法
  • 如何在PHP中的子查询上编写INNER JOIN
  • CodeIgniter:使用set_value()访问数组值
  • PHPMailerAutoload成功消息,但不发送任何电子邮件

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华