Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. https to http

https to http

Scheduled Pinned Locked Moved ASP.NET
comsales
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sarfaraj Ahmed
    wrote on last edited by
    #1

    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

    J 1 Reply Last reply
    0
    • S Sarfaraj 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

      J Offline
      J Offline
      Jon Rista
      wrote on last edited by
      #2

      The following will do what you need: http://www.codeproject.com/KB/web-security/WebPageSecurity_v2.aspx

      S 1 Reply Last reply
      0
      • J Jon Rista

        The following will do what you need: http://www.codeproject.com/KB/web-security/WebPageSecurity_v2.aspx

        S Offline
        S Offline
        Sarfaraj Ahmed
        wrote on last edited by
        #3

        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

        J 1 Reply Last reply
        0
        • S Sarfaraj 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

          J Offline
          J Offline
          Jon Rista
          wrote on last edited by
          #4

          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.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups