%@ LANGUAGE=VBScript %> <% Option Explicit %> <% Response.Expires = 0 %> <% if Session("FONTSIZE") = "" then %> <% else %> <% ' strings for localization Const L_ACCESSDENIED_TEXT="Access Denied" Const L_PATH_TEXT="Network share:" Const L_CONNECTAS_TEXT="Connect as..." Const L_USERNAME_TEXT="User Name:" Const L_PASSWORD_TEXT="Password:" Const L_ACCESSFLAGS_TEXT="Access Permissions" Const L_APPFLAGS_TEXT="Permissions" Const L_READ_TEXT="Read" Const L_WRITE_TEXT="Write" Const L_SCRIPT_TEXT="Script" Const L_EXECUTE_TEXT="Execute (including Script)" Const L_CONTENTCONTROL_TEXT="Content Control" Const L_LOGACCESS_TEXT="Log access" Const L_ENABLEBROWSING_TEXT="Directory browsing allowed" Const L_INDEX_TEXT="Index this directory" Const L_FRONTPAGE_TEXT="FrontPage Web" Const L_APPLICATIONS_TEXT="Application Settings" Const L_ISAPPROOT_TEXT="This is an application starting point" Const L_STARTPOINT_TEXT="Starting Point" Const L_APPNAME_TEXT="Name" Const L_ISOLATEAPP_TEXT="Run in separate memory space" Const L_NONE_TEXT = "None" Const L_CREATE_TEXT = " Create " Const L_REMOVE_TEXT = " Remove " Const L_UNLOAD_TEXT = " Unload " Const L_DISABLE_TEXT = " Disable " Const L_ENABLE_TEXT = " Enable " Const L_CONFIGURE_TEXT = " Configure... " Const L_NA_TEXT = " " Const L_APPMAP_TEXT = "Mappings... " On Error Resume Next Dim path, currentobj, spath, instobj, approot, thisroot, isApp, displayapproot path=Session("dpath") Set currentobj=GetObject(path) spath=Session("spath") Set instobj=GetObject(spath) Session("SpecObj")=spath Session("SpecProps")="FrontPageWeb" approot = currentobj.AppRoot if len(approot) <> 0 then thisroot = LCase(currentobj.ADsPath) approot = Mid(approot,Instr(approot,"w3svc/")+1) thisroot = Mid(thisroot,Instr(thisroot,"w3svc/")+1) & "/" if thisroot=approot then isApp = True end if end if %> <% Session("isInProc") = currentobj.AppIsolated %>
<% end if %>