N
N
nepster-web2013-12-11 01:16:33
Yii
nepster-web, 2013-12-11 01:16:33

Why does captcha fail on long polling requests in yii?

I have captcha on the site page and long polling requests at the same time.
And so after each request captcha goes astray. That is, the Page generates a captcha for example 123456 and displays it on the screen. Further, if the user does not have time to enter it before the first long polling request (GET or POST does not matter), the captcha is updated (it remains the same in the picture) and that's it.
Please tell me how to make sure that the captcha is not updated after long polling requests

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AleX83Xpert, 2013-12-16
@nepster-web

I had a similar issue. It turned out that the problem was the absence of favicon.ico. In this case, you must either add a favicon or add something like .htaccess
RewriteCond %{REQUEST_FILENAME} !^favicon\.ico,
remembering to enable mod_rewrite.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question