Blogger Information
Blog 77
fans 0
comment 2
visits 55664
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
session
南瓜又个梦
Original
1112 people have browsed it

问题描述
在公共函数库谢了一个验证码的函数,开始两个页面都可以用,在登录和注册都要调用应为我多次反复加载页面,有一个页面的验证验证码的页面即使是验证码输入正确,也会报验证码不争确。
分析 可能是session变量的问题。

清除 session变量
清除指定 session
<?php
unset($_SESSION[‘jugelizi’]);
?>
清除全部session
<?PHP session_destroy(); ?>

Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post