Rick_Fla Posted April 13, 2005 Posted April 13, 2005 has anyone else had a problem with a secure page not doing a post back? I have a login page that works just fine when accessing from a http address. But when I access it using https and click on my login button, nothing happens. I inserted a response.write line and I see it working on the http but no the https when the button is clicked. Is there something special I have to do in the code behind? I can provide examples if needed. I am using forms authentications if that makes any differences. Quote "Nobody knows what I do until I stop doing it."
Diesel Posted April 13, 2005 Posted April 13, 2005 You can access the page using both http and https? If it has an ssl associated with that directory or page, you shouldn't be able to access it through http. What does the web.config look like? Quote
Rick_Fla Posted April 13, 2005 Author Posted April 13, 2005 Sorry for the misunderstanding. I have tested it under both methods. I have made it only SSL at one point, but it was not working. The webconfig file currently looks like this. <authentication mode="Forms"> <forms name=".EPERMIT" loginUrl="login.aspx" timeout="30"> </forms> </authentication> but at one point I had the requiressl set to true and the loginurl was to the https: site. But the above method works fine, but I would rather it be secured. Thanks! Quote "Nobody knows what I do until I stop doing it."
Rick_Fla Posted April 14, 2005 Author Posted April 14, 2005 Found the problem, sort of. The page is now submitting, so I will work on the rest for now. I removed all the validators and it was happy again. So I am not sure what the deal was. Quote "Nobody knows what I do until I stop doing it."
kahlua001 Posted April 14, 2005 Posted April 14, 2005 I know what I've done in the past was to add a validator to a field that was set to Enable client side code, then when i scroll down the form, hit submit, then the js code returns false to the page, but up out of the page's view, was the error I would never see! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.