<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="No-cache">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="No-cache">
解决方案 »
- php日历填充当月1号的日子问题
- 请问哪里有快速安全的MYSQL下载啊
- htaccess怎么写锚标记
- 一个数据格式输出的问题
- 在线等,iis+php 配置环境!!
- 谁帮我封装下
- 寻求ADODB连接远程服务器上的ACCESS数据库的方法~~ 在线等待~~ 分不是问题 :-)
- 在linux9中已经默认安装了appache了,然后自己安装了php4,./configure的时候没有用任何参数,这时候应该怎么来处理php.ini的位置?
- 一个非常严重的问题
- 谁能举例说明他的用法,加注释,preg_match
- 在家好,我怎么才能让我mysql的内容,按随机的id号输出呀?
- 关于mysql表中空闲字段值的查找?
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="No-cache">
还是不行,但一看数据库的确更新了数据的,真是不明的,是不是跟<iframe>有关
我解决了~哈哈~
在session_start();前加上这个
session_cache_limiter('private, must-revalidate');
就行了~
不要使用session_cache_limiter('public');和session_cache_limiter('private');(这两个可能有其它用途~)
session_cache_limiter('private, must-revalidate');
session_start();
$username = "OK La~~~~";
session_register('username');
为安全起见,我测试了一个晚上,才贴出来了~~
header("Cache-Control: post-check=0, pre-check=0", false);
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache"); // HTTP/1.0