Author: alex.filipovici | Posted on: 9/11/2009 7:13:55 AM | Views : 1194

Hello all,
Recently I have implemented a security mechanism by using a HttpModule that dynamically selects the protocol used (HTTP/HTTPS), depending on the requested page.
I am having a problem when calling a WebMethod from my Default.aspx page over HTTPS. The page works fine in HTTP.
I have to mention that when the security setting is activated, the application only runs this page over HTTPS. All other pages are run over HTTP.
I am calling the WebMehod by using the PageMethods.MyMethod(parameter, onSucceeded, onFailed) syntax. The error message returned by the onFailed callback function is "Authentication Failed".
Do you know what is wrong in this context?
Many thanks,
 
...

Go to the complete details ...