php - dynamic image / captcha image over load-balanced servers -


i have 2 servers load balanced in such a way each page request served 1 of servers.

and in project creating captcha images created on of server serves page, , while loading in browser ( img src) call goes other server because of load balance implementation.

is there workaround issue.

i not sure whether best solution.

i fixed issue reading captcha image blob using file_get_contents function after creating image, , printed image blob image on html img src tag. no http request image send server.

the problem got solved me.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -