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

WBOY
Release: 2016-06-13 10:03:09
Original
834 people have browsed it

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

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!