home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1999 September
/
CHIPCD_9_99.iso
/
software
/
uaktualnienia
/
OptionPackPL
/
iis4_07.cab
/
Logon_JScript.asp
< prev
next >
Wrap
Text File
|
1998-04-27
|
1KB
|
45 lines
<%@ LANGUAGE = JScript %>
<%
// Force Authentication if the LOGON_USER Server
// Variable is blank by sending the Response.Status
// of 401 Access Denied
// Finish the Page by issuing a Response.End so that a user
// cannot Cancel through the dialog Box
if (Request.ServerVariables("LOGON_USER") == "")
{
Response.Status = "401 access denied";
Response.End();
}
%>
<HTML>
<HEAD>
<TITLE>Login Screens</TITLE>
</HEAD>
<BODY BGCOLOR="White" topmargin="10" leftmargin="10">
<!-- Display Header -->
<font size="4" face="Arial, Helvetica">
<b>Login Screens</b></font><br>
<hr size="1" color="#000000">
<!-- Display LOGON_USER Server Variable -->
You logged in as user:<B> <% = Request.ServerVariables("LOGON_USER") %></B>
<!-- Display AUTH_TYPE Server Variable -->
<p>You were authenticated using:<B> <% = Request.ServerVariables("AUTH_TYPE") %></B> authentication
</BODY>
</HTML>