We use memcached for PHP session storage, but we met a problem: We created a captcha by PHP, as often seen, generate a picture with random number, put the number into session, and during the next page, get this number out, compare with the value stored in session.
But the number stored in session is often lost, or can not be reset by "$_SESSION['captchaNum']=random(4)", which means it still kept the value last time set. I don't know if this has something to do with memcached here is the stats STAT pid 2571 STAT uptime 13888408 STAT time 1227497065 STAT version 1.3.0 STAT pointer_size 64 STAT rusage_user 2309.235942 STAT rusage_system 14175.509994 STAT curr_items 3132138 STAT total_items 75745013 STAT bytes 455719508 STAT curr_connections 35 STAT total_connections 63434110 STAT connection_structures 423 STAT cmd_get 83594984 STAT cmd_set 75744996 STAT get_hits 54934844 STAT get_misses 28660140 STAT evictions 20542 STAT bytes_read 84793238407 STAT bytes_written 557291925379 STAT limit_maxbytes 536870912 STAT threads 1 END
