The cookie is the same after the CAPTCHA is refreshed, but the picture is different. Why?

the address of the picture is as follows

https://stooq.com/q/l/s/i/?15.

the last number should be randomly generated. It doesn"t matter. Then I click on the site, open the console and copy the cookie. Then refresh the page, and then look at cookie. It"s the same as the original. But the picture is different. Why? Shouldn"t cookie change?

Mar.06,2021

I didn't find the reason for it myself, but I found a solution.

can use selenium screenshots, and then use the coordinates of the element to cut out the image of the element.


cookie is the same as session, but the content in session can be different

I took a look at your website. PHP_SESSIONID is the same, so COOKIE remains the same.

but the content of $_ SESSION can be changed. So with what you said

Menu