网页重定向有关问题

WBOY
Release: 2016-06-13 13:52:34
Original
803 people have browsed it

网页重定向问题
当提交一个表单后,提交到其他页面(注意:不是本页面),当提交完成后,如何使用户无法返回(后退)的原来的提交页面,请求老手指教

------解决方案--------------------
表单页:
....


.....

.....
===========================
数据接收页:
.....

.......
------解决方案--------------------
提交前session=0
并且判断这个值===0才显示内容

提交后session=1
即使返回前一页,因为判断!==0所以不显示内容,这样可以么

或者ajax提交,提交后返回改变/清空原来的内容
------解决方案--------------------
有没有试过用iframe或者直接用ajax来实现模拟表单提交。
------解决方案--------------------
探讨

表单页:
....

.....

.....
===========================
数据接收页:
.....

------解决方案--------------------
表单页:
....

.....

.....
===========================
数据接收页:
.....

.......
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!