Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
872 B

  1. <!--METADATA TYPE="TypeLib" File="C:\WINNT\system32\MicrosoftPassport\msppmgr.dll"-->
  2. <%
  3. Set oPassMgrObj = Server.CreateObject("Passport.Manager")
  4. strURL = Request.ServerVariables("URL")
  5. Response.Write "strURL: " & strURl & "<BR>"
  6. Response.write "oPassMgrObj.FromNetworkServer: " & oPassMgrObj.FromNetworkServer & "<BR>"
  7. If oPassMgrObj.FromNetworkServer=true then
  8. Response.Redirect(ThisPageURL)
  9. end if
  10. dim strReturnPassport
  11. strReturnPassport = oPassMgrObj.LogoTag(cstr(Server.URLEncode(ThisPageURL)), cint(TimeWindow), CBool(ForceLogin), Cstr(CoBrandArgs), cint(strLCID), CBool(Secure))
  12. strReturnPassport = Replace(strReturnPassport, Chr(34), "'")
  13. Response.Write "Strpassport return: <INPUT TYPE=text size=200 value=" & chr(34) & strReturnPassport & chr(34) & "</INPUT><BR>"
  14. Response.Write strReturnPassport
  15. %>