Why I'm Clicking the Browser_PHP Tutorial

WBOY
Release: 2016-07-13 10:53:45
Original
951 people have browsed it

Q: Why is the information in all fields cleared after I click the browser's back button?
A: This is because you used the session_start function in your form submission page. This function will force the current page to not be cached. The solution is to add header("Cache-control: private"); after your Session_start function; Note that your PHP program cannot have any output before this line.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/632392.htmlTechArticleQ: Why are all the field information cleared after I click the browser’s back button? Answer: This is due to the session_start function you used in your form submission page. The...
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!