서버 애플리케이션/세션 변수 도구 보기
저자:Eve Cole
업데이트 시간:2009-06-24 17:04:58
< %@LANGUAGE="javascript " CODEPAGE="936"%>
<%
응답.만료 = 0;
응답.버퍼 = true;
var tPageStartTime = new Date();
%>
<html>
<머리>
<title>전체 애플리케이션 양-세션 양</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<스타일 유형=텍스트/css>
본문,td {글꼴 크기: 10pt; 글꼴 계열: "Arial", "Helvetica", "sans-serif" }
.Table1 { 테두리 오른쪽: #FF9900 1px 솔리드; 테두리 상단: #FF9900 1px 솔리드; 글꼴 크기: 9pt; 테두리-왼쪽: #FF9900 1px 솔리드; 테두리-하단: #FF9900 1px 단색 }
.Table2 { 배경색: #FF9900 }
.TR1 { BACKGROUND-색상:#FF9955 }
.TD1 { 테두리 오른쪽: #FEDFB3 1px 솔리드; 테두리 상단: #FEDFB3 1px 솔리드; 테두리 왼쪽: #FEDFB3 1px 솔리드; 색상:#ff9900; 테두리-하단: #FEDFB3 1px 솔리드; 배경색: #FEDFB3}
.TD2 {배경 색상: #FEEED6;패딩:7px;}
</STYLE>
<table width="750" border="0" cellpadding="3" cellpacing="1" class="Table1">
<tr>
<td 클래스="TR1">
<table width="100%" border="0" cellpacing="0" cellpadding="0">
<tr>
<td><font color="#FFFFFF" face="Verdana, Arial, Helvetica, sans-serif"> <strong>服务器Application变weight [共 <%=Application.Contents.Count%> 个]
<script>showTools();</script></strong></font></td>
<td 정렬="오른쪽"> </td>
</tr>
</table></td>
</tr>
<tr>
<TD>
<table width="100%" border="0" cellpadding="3" cellpacing="1" class="Table2">
<tr>
<td width="35%" class="TD1"> 중량</td>
<td width="65%" class="TD1"> 值</td>
</tr>
<%
var i카운트 = 0;
var sVarType = "";
var oApplication = new Enumerator(Application.Contents);
var oApp;
for(;!oApplication.atEnd();oApplication.moveNext()){
oApp = oApplication.item();
sVarType = typeof(Application.Contents(oApp));
++i카운트;
%>
<tr>
<td align="left" valign="middle" class="TD2"><b><%=oApp%></b><br><i 비활성화됨>[<%if(sVarType=="unknown") {Response.Write("배열");}else{Response.Write(sVarType);}%>]</i></td>
<td valign="middle" class="TD2">
<%
노력하다{
if(sVarType=="알 수 없음"){
var oTmp = new VBArray(Application.Contents(oApp));
Response.Write(Server.HTMLEncode(oTmp.toArray()));
}else Response.Write(Server.HTMLEncode(Application.Contents(oApp)));
}잡기(e){
Response.Write("<i 비활성화>[알 수 없음]</i>");
}
%>
</td>
</tr>
<%
}
if(!iCount){
%>
<tr>
<td align="left" valign="middle" class="TD2" colspan="2">전체 애플리케이션 용량</td>
</tr>
<%
}
%>
</table></td>
</tr>
<tr>
<td height="5" class="TR1" colspan="2"></td>
</tr>
</table>
<br>
<table width="750" border="0" cellpadding="3" cellpacing="1" class="Table1">
<tr>
<td 클래스="TR1">
<table width="100%" border="0" cellpacing="0" cellpadding="0">
<tr>
<td><font color="#FFFFFF" face="Verdana, Arial, Helvetica, sans-serif"> <strong>服务器Session变weight [共 <%=Session.Contents.Count%> 个]
<script>showTools();</script></strong></font></td>
<td align="right">当前会话编号: <%=Session.SessionID%> </td>
</tr>
</table></td>
</tr>
<tr>
<TD>
<table width="100%" border="0" cellpadding="3" cellpacing="1" class="Table2">
<tr>
<td width="30%" class="TD1"> 중량</td>
<td width="70%" class="TD1"> 值</td>
</tr>
<%
var i카운트 = 0;
var sVarType = "";
var oSession = new Enumerator(Session.Contents);
var oSes;
for(;!oSession.atEnd();oSession.moveNext()){
oSes = oSession.item();
sVarType = typeof(Session.Contents(oSes));
++i카운트;
%>
<tr>
<td align="left" valign="middle" class="TD2"><b><%=oSes%></b><br><i 비활성화됨>[<%if(sVarType=="unknown") {Response.Write("배열");}else{Response.Write(sVarType);}%>]</i></td>
<td valign="middle" class="TD2">
<%
노력하다{
if(sVarType=="알 수 없음"){
var oTmp = new VBArray(Session.Contents(oSes));
Response.Write(Server.HTMLEncode(oTmp.toArray()));
}else Response.Write(Server.HTMLEncode(Session.Contents(oSes)));
}catch(e){ Response.Write("<i 비활성화됨>[알 수 없음]</i>");
}
%>
</td>
</tr>
<%
}
if(!iCount){
%>
<tr>
<td align="left" valign="middle" class="TD2" colspan="2">전체 세션수</td>
</tr>
<%
}
%>
</table></td>
</tr>
<tr>
<td height="5" class="TR1" colspan="2"></td>
</tr>
</table>
<% tPageEndTime = 새로운 날짜(); %>
<center> <%="<br><br>页面执行时间:约 <font color='#990000'><b>"+((tPageEndTime-tPageStartTime))+"</b></font> 毫秒"%></center>
</body></html>