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
Post a Comment