<td class="TR1"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><font color="#FFFFFF" face="Verdana, Arial, Helvetica, sans-serif"> <strong>服务器Session变量 [共 <%=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" cellspacing="1" class="Table2"> <tr> <td width="30%" class="TD1"> 变量</td> <td width="70%" class="TD1"> 值</td> </tr> <% var iCount = 0; var sVarType = ""; var oSession = new Enumerator(Session.Contents); var oSes; for(;!oSession.atEnd();oSession.moveNext()){ oSes = oSession.item(); sVarType = typeof(Session.Contents(oSes)); ++iCount; %> <tr> <td align="left" valign="middle" class="TD2"><b><%=oSes%></b><br><i disabled>[<%if(sVarType=="unknown") {Response.Write("Array");}else{Response.Write(sVarType);}%>]</i></td> <td valign="middle" class="TD2"> <% try{ if(sVarType=="unknown"){ var oTmp = new VBArray(Session.Contents(oSes)); Response.Write(Server.HTMLEncode(oTmp.toArray())); }else Response.Write(Server.HTMLEncode(Session.Contents(oSes))); }catch(e){ |
正在阅读:查看服务器Application/Session变量工具查看服务器Application/Session变量工具
2004-02-14 09:33
出处:CSDN
责任编辑:linjixiong
键盘也能翻页,试试“← →”键