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 · ·