网页后退不再出现过期

作者: 2006-08-29,04:51 下午 周二

有时候刷新或后退后就出现过期,十分讨厌!用这个后就好了!

1
2
3
4
5
6
7
<?php
ob_start();
if(function_exists(session_cache_limiter)){
    session_cache_limiter("private, must-revalidate");
}
session_start();
?>

暂无相关文章

分类 : PHP (阅览:) Tags :

评论

还没有评论呢。


留下评论


|:victory:| |:tongue:| |:titter:| |:time:| |:sweat:| |:smile:| |:shy:| |:shocked:| |:sad:| |:mad:| |:lol:| |:kiss:| |:hug:| |:huffy:| |:handshake:| |:cry:| |:call:| |:biggrin:|