Home >Backend Development >PHP Tutorial >PHP中怎么禁止重复刷新页面

PHP中怎么禁止重复刷新页面

WBOY
WBOYOriginal
2016-06-13 10:03:09863browse

PHP中如何禁止重复刷新页面
大哥大姐帮帮小弟阿,在此先谢谢了.
在PHP中如何禁止重复刷新页面.如不能重复按F5和刷新按钮

------解决方案--------------------
有四种方法:1。用JAVASCRIPT 做判断
2。session 限定
3 。hidden 
4 .header()立即转向。我觉得header("Location: http://^^^^^")最好;当处理完数据立即转向页面,
即便再刷也不会改变;

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn