110 lines
3.9 KiB
HTML
110 lines
3.9 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<META HTTP-EQUIV="Content-Type" Content="text/html; charset=Windows-1252">
|
|
<TITLE>Server Object</TITLE>
|
|
<SCRIPT LANGUAGE="JavaScript">
|
|
<!--
|
|
TempString = navigator.appVersion
|
|
if (navigator.appName == "Microsoft Internet Explorer"){
|
|
// Check to see if browser is Microsoft
|
|
if (TempString.indexOf ("4.") >= 0){
|
|
// Check to see if it is IE 4
|
|
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/coua.css">');
|
|
}
|
|
else {
|
|
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/cocss.css">');
|
|
}
|
|
}
|
|
else if (navigator.appName == "Netscape") {
|
|
// Check to see if browser is Netscape
|
|
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/coua.css">');
|
|
}
|
|
else
|
|
document.writeln('<link rel="stylesheet" type="text/css" href="/iishelp/common/cocss.css">');
|
|
//-->
|
|
</script>
|
|
<SCRIPT LANGUAGE="VBScript">
|
|
<!--
|
|
Sub Window_OnLoad()
|
|
Dim frmContents
|
|
On Error Resume Next
|
|
If Not Parent Is Nothing Then
|
|
Set frmContents = Parent.Contents
|
|
If Not frmContents Is Nothing Then
|
|
frmContents.Window.TOCSynch_Click
|
|
End If
|
|
End If
|
|
End Sub
|
|
//--></SCRIPT><META NAME="DESCRIPTION" CONTENT="Internet Information Services reference information">
|
|
<META HTTP-EQUIV="PICS-Label" CONTENT='(PICS-1.1 "<http://www.rsac.org/ratingsv01.html>" l comment "RSACi North America Server" by "inet@microsoft.com <mailto:inet@microsoft.com>" r (n 0 s 0 v 0 l 0))'>
|
|
<META NAME="MS.LOCALE" CONTENT="EN-US">
|
|
<META NAME="MS-IT-LOC" Content="Internet Information Services">
|
|
</HEAD>
|
|
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
|
|
<H2><A NAME="_server_object"></A><SUP></SUP>Server Object</H2>
|
|
|
|
<P>The <B>Server</B> object provides access to methods and properties on the server. Most of these methods and properties serve as utility functions.</P>
|
|
|
|
<H6>Syntax </H6>
|
|
|
|
<P><B>Server.</B><I>property|method</I></P>
|
|
|
|
<P> </P>
|
|
|
|
<H6>Properties</H6>
|
|
|
|
<TABLE border=0 cellpadding=5 cols=2 frame=box rules=cols>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=28%><A HREF="/iishelp/iis/htm/asp/vbob246s.htm"><B>ScriptTimeout</B></A></TD>
|
|
<TD width=72%>The amount of time that a script can run before it times out.</TD>
|
|
</TR>
|
|
</TABLE><BR>
|
|
|
|
<H6>Methods</H6>
|
|
|
|
<TABLE border=0 cellpadding=5 cols=2 frame=box rules=all>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=28%><A HREF="/iishelp/iis/htm/asp/vbob0ss4.htm"><B>CreateObject</B></A></TD>
|
|
<TD width=72%>Creates an instance of a server component.</TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=28%><A HREF="/iishelp/iis/htm/asp/vbob9pid.htm"><B>Execute</B></A></TD>
|
|
<TD width=72%>Executes an .asp file.</TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=28%><A HREF="/iishelp/iis/htm/asp/vbob38aa.htm"><B>GetLastError</B></A></TD>
|
|
<TD width=72%>Returns an <B>ASPError</B> object that describes the error condition.</TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=28%><A HREF="/iishelp/iis/htm/asp/vbob9aat.htm"><B>HTMLEncode</B></A></TD>
|
|
<TD width=72%>Applies HTML encoding to the specified string.</TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=28%><A HREF="/iishelp/iis/htm/asp/vbob98iw.htm"><B>MapPath</B></A></TD>
|
|
<TD width=72%>Maps the specified virtual path, either the absolute path on the current server or the path relative to the current page, into a physical path.</TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=28%><A HREF="/iishelp/iis/htm/asp/vbob9waa.htm"><B>Transfer</B></A></TD>
|
|
<TD width=72%>Sends all of the current state information to another .asp file for processing.</TD>
|
|
</TR>
|
|
|
|
<TR VALIGN="top">
|
|
<TD width=28%><A HREF="/iishelp/iis/htm/asp/vbob0wkl.htm"><B>URLEncode</B></A></TD>
|
|
<TD width=72%>Applies URL encoding rules, including escape characters, to the string.</TD>
|
|
</TR>
|
|
</TABLE><BR>
|
|
<hr class="iis" size="1">
|
|
<p align="center"><em><a href="../../../common/colegal.htm">© 1997-2001 Microsoft Corporation. All rights reserved.</a></em></p>
|
|
</BODY>
|
|
</HTML>
|