home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / ie4 / ieak4.cab / default.asp < prev    next >
Text File  |  1998-02-09  |  5KB  |  143 lines

  1. <%
  2. '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  3. '% FILE:    IEAK.INC                  
  4. '% DATE:    08/29/97
  5. '% AUTHOR:     Aaron Barth (MS)
  6. '% DESCRIPTION: Customizable INC script that sets 
  7. '%             IEAKUser Cookie
  8. '% 
  9. '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  10.  
  11. '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  12. '% Make sure that the user is authenticated by 
  13. '% sending an Access Denied accessing this page
  14. '% as the anonymous web user
  15. '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  16. if Request.ServerVariables("LOGON_USER") = "" then
  17.     Response.Status = "401 Unauthorized"
  18.     Response.AddHeader "WWW-Authenticate","NTLM"
  19. else
  20.     AuthUser =  Request.ServerVariables("LOGON_USER")
  21.  
  22.     Response.Cookies("IEAKUser") = AuthUser
  23.     Response.Cookies("IEAKUser").Expires = "December 31, 1999"
  24.     'Response.Cookies("IEAK").Path = ""
  25.  
  26. end if
  27. %>
  28.  
  29. <%
  30. '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  31. '%--#include virtual="/ieak.inc"--
  32. '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  33. %>
  34.  
  35. <HTML>
  36.  
  37. <HEAD>
  38.  
  39. <BODY BACKGROUND="/samples/images/backgrnd.gif">
  40.  
  41. <TITLE>Microsoft Internet Information Server</TITLE>
  42.  
  43. </HEAD>
  44.  
  45. <BODY BGCOLOR="FFFFFF">
  46. <CENTER>
  47. <IMG SRC="/samples/images/h_logo.gif" ALIGN="BOTTOM" ALT="Microsoft Internet Information Server">
  48. <P>
  49. <FONT SIZE=3>The Web Server Designed For Windows NT Server</font>
  50. </CENTER>
  51. <center>
  52. <font size=1>
  53. <b> Why not add the <a href="http://www.microsoft.com/infoserv/updates">latest features</a> to your Internet Information Server?</b>
  54. <p>
  55. </center>
  56.  
  57. <TABLE>
  58. <TR>
  59. <TD>
  60.   <TABLE>
  61.   <TR>
  62.   <TD VALIGN=TOP><IMG SRC="/samples/images/SPACE.gif" ALIGN="BOTTOM">
  63.   </TD>
  64.   </TR>
  65.   </TABLE>
  66. </TD>
  67.  
  68. <TD VALIGN=TOP>
  69. <TABLE>
  70.   <TR VALIGN=TOP>
  71.   <TD valign=top><A HREF="/iisadmin/htmldocs/inetdocs.htm" BORDER=0><IMG SRC="/samples/images/docs.gif" ALIGN="BOTTOM" ALT="Documentation" BORDER=0></a>
  72.   </TD>
  73.   </TR>
  74.     <TR VALIGN=TOP>
  75.     <TD VALIGN=TOP COLSPAN=2><font size=2>
  76.  Microsoft® Internet Information Server (IIS) makes it easier to do business with internal or external customers down the hall or around the world. To learn more about how Internet Information Server will help you in your business, browse the IIS <a href="/iisadmin/htmldocs/inetdocs.htm">online documentation</a>.
  77.     </TD></font>
  78. <TR VALIGN=TOP>
  79. <TD COLSPAN=2><A HREF="/iisadmin/default.htm"><IMG SRC="/samples/images/tools.gif" ALIGN="top" ALT="Administration" BORDER=0></A>
  80. </TD>
  81. </TR>
  82.    <TR>
  83.    <TD COLSPAN=2 VALIGN=TOP> <FONT SIZE=2>You can manage the IIS services from a Web browser. To start the administration tool in your current Web browser, <a href="http:/iisadmin/">click here</a>. (Note: You must have administrator privileges to use this tool.)
  84.    </FONT></TD>
  85.    </TR> 
  86. </TABLE>
  87. </TD>
  88.  
  89. <TD VALIGN=TOP>
  90.  <TABLE>
  91.    <TR>
  92.    <TD VALIGN=TOP><IMG SRC="/samples/images/SPACE2.gif" ALIGN="top">
  93.    </TD>
  94.    </TR>
  95.  </TABLE>
  96. </TD>
  97.  
  98. <TD VALIGN=TOP>
  99. <TABLE> 
  100.   <TR VALIGN=TOP>
  101.   <TD VALIGN=TOP><A HREF="/samples/IMAGES/h_samp.map"><IMG SRC="/samples/images/h_samp.gif" ALIGN="BOTTOM" ismap border=0 ALT="Sample Pages and Applications"></A>
  102.   </TD>
  103.   </TR>
  104. <TR VALIGN=TOP>
  105. <TD VALIGN=TOP colspan=1>
  106. <FONT SIZE=2>Try the hyperlinks above to see some examples of the content you can publish with Microsoft Internet Information Server. To learn more about Microsoft products that you can use to create great-looking Web pages, visit the Microsoft Web site for information about <a href="http://www.microsoft.com/msoffice/frontpage">Microsoft FrontPage</a> and <A HREF="http://www.microsoft.com/msoffice">Internet Assistants for Microsoft Office</A>. Microsoft FrontPage is also included on the Windows NT Server CD-ROM.
  107. </TD>
  108. </TR>
  109.   <TR>
  110.   <TD valign=top>
  111.   <HR>
  112.   <A HREF="http://www.microsoft.com"><IMG SRC="/samples/images/h_browse.gif" ALIGN="top" ALT="Browsing the Internet" BORDER=0></A>
  113.   </TD>
  114.   </TR>
  115.  <TR>
  116.  <TD VALIGN=TOP COLSPAN=1><font size=2> 
  117. A good place to begin browsing the Internet is <A HREF="http://www.microsoft.com">www.microsoft.com</A>,
  118. where you will find information about Microsoft products. This Web site contains pages that discuss <A HREF="http://www.microsoft.com/infoserv">Microsoft Internet Information Server</A>. The Microsoft Web site also provides downloadable versions of <A HREF="http://www.microsoft.com/ie">Microsoft Internet Explorer</A>. Another good place to start browsing is <A HREF="http://www.msn.com">The Microsoft Network</A> Web site. 
  119.  </FONT>
  120.  </TD>
  121.  <TD VALIGN=TOP><IMG SRC="/samples/images/SPACE2.gif" ALIGN="top">
  122.  </TD>
  123. </TR>
  124. </TABLE>
  125.  
  126. </TD>
  127. </TABLE>
  128.  
  129. <HR>
  130. <P ALIGN="CENTER"><A HREF="http://www.microsoft.com/BackOffice/powered.htm"><IMG SRC="/samples/images/powered.gif" ALIGN="BOTTOM" ALT="Another Web Site Powered by Windows NT Server" BORDER=0></A>
  131. <BR>
  132.  
  133. <font size=2>
  134. <B>© 1996 Microsoft Corporation; see <A HREF="/samples/disclaim.htm">disclaimer</A>.
  135. </B>
  136. </font>
  137.  
  138. </CENTER>
  139. </BODY>
  140.  
  141. </HTML>
  142.  
  143.