httphandler and imageproblems
-
Hello! I´ve tried using a captchacontrol from this article: [^] When I run it locally everything works fine, but when I publish it onto our webserver I only get a image generated now and then. I feel kind of lost as how I should solve this issue, does anyone have an idea of wherein the problem could lie? /regards
-
Hello! I´ve tried using a captchacontrol from this article: [^] When I run it locally everything works fine, but when I publish it onto our webserver I only get a image generated now and then. I feel kind of lost as how I should solve this issue, does anyone have an idea of wherein the problem could lie? /regards
-
Try putting a post on the website you provided a url for. When you say:
livez wrote:
I only get a image generated now and then
Do you mean sometimes it works sometimes it doesnt
We are not a Code Charity
"Do you mean sometimes it works sometimes it doesnt" yeah, sometimes I get no image at all. I´ve contacted the guy who made the control, but I´ve gotten no response yet. I thought maybe I did some very common mistake when working with httphandlers that could cause this, that someone immediately would know what to correkt.
-
"Do you mean sometimes it works sometimes it doesnt" yeah, sometimes I get no image at all. I´ve contacted the guy who made the control, but I´ve gotten no response yet. I thought maybe I did some very common mistake when working with httphandlers that could cause this, that someone immediately would know what to correkt.
-
Thanks for your response .Netman. I now know a little more about what the problem is. The webserver was set to simulate web farm, when I turned this off the captcha worked fine. The captcha uses viewstate to store stuff, and this can be a problem in a web farm environment. I thought I had already solved this by setting a machinekey element in my web.config, but apparently something is missing.
-
Thanks for your response .Netman. I now know a little more about what the problem is. The webserver was set to simulate web farm, when I turned this off the captcha worked fine. The captcha uses viewstate to store stuff, and this can be a problem in a web farm environment. I thought I had already solved this by setting a machinekey element in my web.config, but apparently something is missing.
-
OK, so have you got it fixed or is there still a problem? Have you left web farm as turned off?
We are not a Code Charity
Problem remains :( We will have a webfarm later on so I need to be able to use the captcha-control in a web farm environment. I have this (with another key)
machinekey validationkey="20B62370E8C940949E4734429E78CDE6F81E09BD63D5DB0A581CAE0C89704296E028DD544F2A184AFE7C45CA39A1540989A0880B948BCCCF23124226B5E738FD" decryptionkey="5A34CCAAC7973E35D80030F8457B16A18B1B6C459A7972F1" validation="SHA1" /machinekey
in our web.config, and I thought this would make viewstate work in a web farm environment, but that does not seem to be the case :(
modified on Thursday, May 29, 2008 5:19 AM
-
Problem remains :( We will have a webfarm later on so I need to be able to use the captcha-control in a web farm environment. I have this (with another key)
machinekey validationkey="20B62370E8C940949E4734429E78CDE6F81E09BD63D5DB0A581CAE0C89704296E028DD544F2A184AFE7C45CA39A1540989A0880B948BCCCF23124226B5E738FD" decryptionkey="5A34CCAAC7973E35D80030F8457B16A18B1B6C459A7972F1" validation="SHA1" /machinekey
in our web.config, and I thought this would make viewstate work in a web farm environment, but that does not seem to be the case :(
modified on Thursday, May 29, 2008 5:19 AM
-
Hi Sorry I do not know enough about this area to help you, I would try and research the web farm and see if that helps you cheers
We are not a Code Charity