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.

70 lines
1.8 KiB

  1. <%@Language="VBScript" CODEPAGE=932%>
  2. <%Option explicit%>
  3. <%
  4. Response.Expires = -1
  5. Response.AddHeader "Cache-Control", "no-cache"
  6. Response.AddHeader "Pragma", "no-cache"
  7. Response.AddHeader "P3P", "CP=""TST"""
  8. %>
  9. <!--#INCLUDE file="..\..\secure\dataconnections.inc"-->
  10. <%
  11. Response.CharSet=strCharSet
  12. on error resume next
  13. '932 1252 20127 437
  14. %>
  15. <html>
  16. <head>
  17. <meta http-equiv="Content-Type" content="text/html; charset=<% = strCharSet %>">
  18. <META http-equiv="PICS-Label" content="(PICS-1.1 http://www.rsac.org/ratingsv01.html l gen true r (n 0 s 0 v 0 l 0))">
  19. <link rel="stylesheet" type="text/css" href="/main.css">
  20. <!--METADATA TYPE="TypeLib" File="C:\Program Files\Common Files\System\ADO\msado15.dll"-->
  21. <!--METADATA TYPE="TypeLib" File="C:\WINNT\system32\MicrosoftPassport\msppmgr.dll"-->
  22. <!--METADATA TYPE="TypeLib" File="C:\WINNT\system32\msxml.dll"-->
  23. <%
  24. Dim oPassMgrObj
  25. Dim ThisPageURL
  26. Dim TimeWindow
  27. Dim ForceLogin
  28. Dim CoBrandArgs
  29. Dim LangID
  30. Dim Secure
  31. Dim strURL
  32. Dim iMemberHigh
  33. Dim iMemberLow
  34. Dim iTimes
  35. Dim strDefaultCodePage
  36. Set oPassMgrObj = Server.CreateObject("Passport.Manager")
  37. strURL = Request.ServerVariables("URL")
  38. if instr(1, strURL, "secure") = 0 then
  39. ThisPageURL = "http://" & Request.ServerVariables("SERVER_NAME")
  40. ThisPageURL = ThisPageURL & Request.ServerVariables("SCRIPT_NAME")
  41. else
  42. ThisPageURL = "https://" & Request.ServerVariables("SERVER_NAME")
  43. ThisPageURL = ThisPageURL & Request.ServerVariables("SCRIPT_NAME")
  44. end if
  45. TimeWindow = 14400
  46. ForceLogin = False
  47. CoBrandArgs = False
  48. If Request.ServerVariables("HTTPS") = "on" Then
  49. Secure = TRUE
  50. else
  51. Secure = False
  52. end if
  53. If oPassMgrObj.FromNetworkServer=true then
  54. Response.Redirect(ThisPageURL)
  55. end if
  56. %>