Environment, I am using the apache+php environment
For example, my program code is as follows
The code is as follows | |||||
Process the file after submitting this post.php File
if($_SESSION['ssioner' ]!=$ssever){ |
It turns out that it keeps prompting that the verification code must consist of 4 digits, so I print out the session
echo $_SESSION['ssioner'];exit;
It has been empty, so I thought of a session file directory in the php environment configuration. Now we find the php.ini configuration file and find
upload_tmp_dir
Found this directory is
upload_tmp_dir="D:www.111cn.nettp"
I checked my D drive and found that there was only the www.111cn.net file but no tp directory, so the problem was found. Then I created a tp directory, restarted apache and found that there was the sess_i40gl0p4hfep5r69j67o1k26d01 file in the tp directory, so Logged in again and found success.php verification session invalid problem solution environment, I use the apache+php environment. For example, my program code is as follows The code is as follows input name=username type=text class=input id=username inp...