home *** CD-ROM | disk | FTP | other *** search
- <%@ LANGUAGE=VBScript %>
- <% Option Explicit %>
- <% Response.Expires = 0 %>
-
- <%
- Const L_ASP_TEXT = "Active Server Pages"
- Const L_APPCONFIG_TEXT = "Application Configuration"
- Const L_ENABLESESSION_TEXT = "Enable session state"
- Const L_SESSIONTO_TEXT = "Session timeout:"
- Const L_MINUTES_TEXT = "minutes"
- Const L_ENABLEBUFF_TEXT = "Enable buffering"
- Const L_ENABLEPATHS_TEXT = "Enable parent paths"
- Const L_WRITEFAILED_TEXT = "Write unsuccessful client requests to event log"
- Const L_EXCEPTIONCATCH_TEXT = "Enable debug exception catching"
- Const L_NUMENGINESCACHED_TEXT = "Number of script engines cached:"
- Const L_DEFAULTLANG_TEXT = "Default ASP language:"
- Const L_SCRIPTTO_TEXT = "Script timeout:"
- Const L_SECONDS_TEXT = "seconds"
- Const L_SCRIPTCACHE_TEXT = "Script File Cache"
- Const L_NOCACHE_TEXT = "Do not cache ASP files"
- Const L_CACHEASP_TEXT = "Cache all requested ASP files"
- Const L_ASPCACHESIZE_TEXT = "Max ASP files cached:"
- Const L_MB_TEXT = "MB"
-
-
- Const L_DBG_TEXT = "ASP Debugging"
- Const L_DEBUGGING_TEXT = "Debugging Flags"
- Const L_ENABLESSDEBUG_TEXT="Enable ASP server-side debugging"
- Const L_ENABLECLIENTDEBUG_TEXT="Enable ASP client-side debugging"
- Const L_ENABLEJAVADEBUG_TEXT="Enable Java server-side debugging"
- Const L_SCRIPTERRMSG_TEXT = "Script Error Messages"
- Const L_SENDDETAILED_TEXT = "Send detailed ASP error messages to client."
- Const L_SENDTEXT_TEXT ="Send text error message to client:"
- Const L_PROCESSOPTIONS_TEXT = "Process Options"
-
-
- On Error Resume Next
-
- Dim path, currentobj
-
- path=Session("dpath")
- Session("path")=path
- Session("SpecObj")=""
- Session("SpecProps")=""
- Set currentobj=GetObject(path)
- %>
-
- <!--#include file="iiset.inc"-->
-
- <HTML>
- <HEAD>
- <TITLE></TITLE>
-
- <SCRIPT LANGUAGE="JavaScript">
- function buildListForm(){
- qstr="numrows=0";
- top.hlist.location.href="iihdn.asp?"+qstr;
- }
-
- function SetListVals(){
- }
-
- function listFuncs(){
- this.writeList=buildListForm;
- this.SetListVals=SetListVals;
- this.mainframe = top.opener.top;
- }
-
- function isNum(txtcntrl,min,max) {
- str=txtcntrl.value;
- for (var i=0; i < str.length; i++) {
- num = parseInt(str);
- if (isNaN(num)){
- alert("Please enter an integer.");
- return false;
- }
- if (num < min) {
- alert("Please enter an integer greater than " + (min-1) + ".");
- return false;
- }
- if (num > max) {
- alert("Please enter an integer less than " + (max + 1) + ".");
- return false;
- }
- }
- return true;
- }
- listFunc=new listFuncs();
- </SCRIPT>
-
- </HEAD>
-
- <BODY TOPMARGIN=10 LEFTMARGIN=10 BGCOLOR="#CCCCCC" LINK="#000000" VLINK="#000000">
-
- <FONT SIZE=1 FACE="Helv,ARIAL">
- <FORM NAME="userform">
-
-
- <A NAME="ASP"></A>
- <TABLE WIDTH =100% HEIGHT = 400>
- <TR>
- <TD VALIGN="top" WIDTH = 50%><FONT SIZE=1 FACE="Helv,ARIAL">
- <B><%= L_APPCONFIG_TEXT %></B><P>
-
- <%= checkbox("AspAllowSessionState", "", false) %> <%= L_ENABLESESSION_TEXT %><BR>
-
- <%= L_SESSIONTO_TEXT %> <%= text("AspSessionTimeout",10,"","", "",False,False) %> <%= L_MINUTES_TEXT %><BR>
-
- <%= checkbox("AspBufferingOn", "", false) %> <%= L_ENABLEBUFF_TEXT %><BR>
- <%= checkbox("AspEnableParentPaths", "", false) %> <%= L_ENABLEPATHS_TEXT %><BR>
- <%= L_DEFAULTLANG_TEXT %> <%= text("AspScriptLanguage",30,"","", "",False,False) %><P>
-
- <%= L_SCRIPTTO_TEXT %> <%= text("AspScriptTimeout",10,"","", "isNum(this,1,4294967295);",False,False) %> <%= L_SECONDS_TEXT %>
- </TD>
- </TR>
- </TABLE>
-
-
-
- <!-- App Debugging -->
-
- <A NAME="DBG">
- <% if not Session("IsIE") then %>
- <P>
- <% end if %>
- <TABLE WIDTH =100% HEIGHT = 400>
- <TR>
- <TD VALIGN="top" WIDTH = 50%><FONT SIZE=1 FACE="Helv,ARIAL">
- <B><%= L_DEBUGGING_TEXT %></B><P>
- <%= checkbox("AppAllowDebugging","",false) %><%= L_ENABLESSDEBUG_TEXT %><P>
- <%= checkbox("AppAllowClientDebug","",false) %><%= L_ENABLECLIENTDEBUG_TEXT %><P>
- <HR>
- <B><%= L_SCRIPTERRMSG_TEXT %></B><P>
-
- <%= printradio("rdoAspScriptErrorSentToBrowser", currentobj.AspScriptErrorSentToBrowser, "document.userform.AspScriptErrorSentToBrowser.value='True'",False) %>
- <%= L_SENDDETAILED_TEXT %><BR>
- <%= printradio("rdoAspScriptErrorSentToBrowser", not currentobj.AspScriptErrorSentToBrowser, "document.userform.AspScriptErrorSentToBrowser.value='False'",False) %>
- <%= L_SENDTEXT_TEXT %><P>
- <INPUT TYPE="hidden" NAME="AspScriptErrorSentToBrowser" VALUE="<%= currentobj.AspScriptErrorSentToBrowser %>">
- <TEXTAREA NAME="txtAspScriptErrorMessage" ROWS=4 COLS=35><%= currentobj.AspScriptErrorMessage %>
- </TEXTAREA>
-
- </FONT>
- </TD>
- </TR>
- </TABLE>
- </A>
-
- <% if Session("setProcOpts") then %>
-
- <!-- Process Options -->
- <A NAME="OTHER">
- <% if not Session("IsIE") then %>
- <P>
- <% end if %>
- <TABLE WIDTH =100% HEIGHT = 400>
- <TR>
- <TD VALIGN="top" WIDTH = 50%><FONT SIZE=1 FACE="Helv,ARIAL">
- <B><%= L_PROCESSOPTIONS_TEXT %></B><P>
-
- <%= checkbox("AspLogErrorRequests", false, "") %> <%= L_WRITEFAILED_TEXT %><BR>
- <%= checkbox("AspExceptionCatchEnable", false, "") %> <%= L_EXCEPTIONCATCH_TEXT %><P>
- <%= L_NUMENGINESCACHED_TEXT %><%= text("AspScriptEngineCacheMax",10,"","", "",False,False) %><P>
-
- <HR>
- <B><%= L_SCRIPTCACHE_TEXT %></B><P>
- <%= printradio("rdoAspScriptFileCacheSize", currentobj.AspScriptFileCacheSize = 0 , "",False) %>
- <%= L_NOCACHE_TEXT %><BR>
- <%= printradio("rdoAspScriptFileCacheSize", currentobj.AspScriptFileCacheSize , "",False) %>
- <%= L_CACHEASP_TEXT %><BR>
- <%= printradio("rdoAspScriptFileCacheSize", (currentobj.AspScriptFileCacheSize > 0) , "",False) %>
- <%= L_ASPCACHESIZE_TEXT %>
- <%= text("AspScriptFileCacheSize",5,"","", "",False,False) %><BR>
-
- </FONT>
- </TD>
- </TR>
- </TABLE>
- </A>
-
- <% end if %>
-
- </FORM>
- </FONT>
-
- </BODY>
- </HTML>
-