https to http
-
Hello Everybody 1. Customer click the login button from http://mydomain.com 2. After clicking the login button from mydomain.com it goes to https://anotherdomin.com/myfolder/login.aspx 3. If login successfull then it will automatic send back to mydomain.com with UserID and Name Please tell me the way to do it. waiting for your valuabale advice Thanks in Advance Sarfaraj
Sarfarj Ahmed
-
Hello Everybody 1. Customer click the login button from http://mydomain.com 2. After clicking the login button from mydomain.com it goes to https://anotherdomin.com/myfolder/login.aspx 3. If login successfull then it will automatic send back to mydomain.com with UserID and Name Please tell me the way to do it. waiting for your valuabale advice Thanks in Advance Sarfaraj
Sarfarj Ahmed
The following will do what you need: http://www.codeproject.com/KB/web-security/WebPageSecurity_v2.aspx
-
The following will do what you need: http://www.codeproject.com/KB/web-security/WebPageSecurity_v2.aspx
Thanks for your quick reply. I am a bit confused because: 1. My secured folder is hosted into another domain Eg: https://anotherdomain.com/myfolder 2. All my secure pages are inside myfolder. Eg. login.aspx 3. What I want to it is: 3.1 If log in successful then it will send back to mydomain.com
Sarfarj Ahmed
-
Thanks for your quick reply. I am a bit confused because: 1. My secured folder is hosted into another domain Eg: https://anotherdomain.com/myfolder 2. All my secure pages are inside myfolder. Eg. login.aspx 3. What I want to it is: 3.1 If log in successful then it will send back to mydomain.com
Sarfarj Ahmed
I don't know enough about your scenario to give you specifics, but if you have control of the source code for both domains, you can easily update the code to do what you need. If you don't have the ability to modify how anotherdomain.com works, then you will probably have to abstract the login process a bit. You would need to post back to your own login page, and inside of that make a request to the other domains login page, and handle the response. If you do have control of the code on both domains, and both are ASP.NET, then I think that link I posted earlier can be helpful, if not solve your problem outright.