How to control the cache in the case of opening the session

xiaoxiao2021-03-06  14

How to control the cache in the case of open session when the page session_start () is turned on, in this way, if we submit a form in the back, the previous input will be lost, solve this problem is also very simple, there is Two methods first method:

Second method:

Code is added in session_start (); before. Note that you can use private for security, do not use public.

转载请注明原文地址:https://www.9cbs.com/read-48508.html

New Post(0)