cmsplushosting Posted July 30, 2011 Share Posted July 30, 2011 Does anyone have an AutoAuth vb.net or C#.net example? I am having problems integrating... Im using: Dim ts As TimeSpan = (DateTime.UtcNow - New DateTime(1970, 1, 1, 0, 0, 0)) Dim unixTime As Double = ts.TotalSeconds Dim Unix_TS As String = getUnixTimeStamp(DateTime.Now) 'Dim hash As String = CalculateSHA1(, Encoding.ASCII) Dim protectString As String = My.Settings.strEmailAddress + Unix_TS + My.Settings.strAutoAuthkey Dim hash As String = FormsAuthentication.HashPasswordForStoringInConfigFile(protectString, "sha1").ToLower() Debug.WriteLine("email: " & My.Settings.strEmailAddress) Debug.WriteLine("time serial: " & Unix_TS) Debug.WriteLine("hash: " & hash) It brings me to the URL: dologin.php?email=adminemail@mysite.com×tamp=1312012433&hash=a15ae72fe132e2bd118d81a09f599578&goto=/admin/supporttickets.php?action=viewticket&id=68 But says Link Expired. Can someone help, I've spent a good 5+ hrs on this one ... 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.