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.
http://www.bkjia.com/PHPjc/632392.htmlwww.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...
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