关于session跟验证码

WBOY
Release: 2016-06-13 12:59:27
Original
797 people have browsed it

关于session和验证码
我在thinkphp中 用验证码    验证码可以出来(验证码是存入到session中的)
   然后输出验证码的md5值  


发现输出的值   是没有的 而 刷新网页后 输出的验证码md5值是上一次的    以此   每次输出的都是上一次的值


求解下
------解决方案--------------------
验证码是个图片吧?

浏览器获取页面的时候,服务器端还未产生最新的验证码呢……,你说的是合理现象

Related labels:
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