PHP文档已过期 [英] PHP Document Expired
本文介绍了PHP文档已过期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在做一些PHP编码,如果在浏览器上按下后退"按钮,则会出现以下错误:
I doing some PHP coding, if the 'Back' button is pressed on the browser, I get the following error:
Document Expired
This document is no longer available.
我可以实现什么代码来解决这种情况
What code can I implement to cater to this situation
推荐答案
将其添加到PHP代码的开头:
ini_set('session.cache_limiter','public');
session_cache_limiter(false);
这篇关于PHP文档已过期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文