Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Microsoft Passport not redirecting??
Can anyone give me the shortest snippet of code available _that_works_ that allows users to log into my web site using Passport? I already have a Site ID issued by the Passport.Com site, and I've installed the SDK on my Windows 2003 Server. And I've typed up what code I think is appropriate. But my problem is that when I click on the Passport "Sign-In" button on my home page, the page just refreshes with a big long querystring tagged onto the end of the URL, and nothing in effect happens.
Here's the code I'm using in my Form_Load event:
phPassportSignIn.Controls.Add(New LiteralControl( _
Passport.LogoTag2(Request.PathInfo, 14400, False, _
Nothing, -1, Request.IsSecureConnection, _
Nothing, 0, False)))
0 · ·