View all server application variables, session variable tools

Source: Internet
Author: User
Often write ASP, need to define application variable, session variable, sometimes to check correctness. Although there are similar procedures on the Internet, but found that there are many deficiencies, so I wrote a.
The code is as follows:

<% @LANGUAGE = "JavaScript" codepage= "936"%>
<%
Response.Expires = 0;
Response.Buffer = true;
var tpagestarttime = new Date ();
%>
<title> website-application variable-session variable </title>
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 ">
<style type=text/css>
BODY,TD {font-size:10pt; font-family: "Arial", "Helvetica", "Sans-serif"}
. Table1 {border-right: #FF9900 1px solid; Border-top: #FF9900 1px solid; font-size:9pt; Border-left: #FF9900 1px solid; Border-bottom: #FF9900 1px solid}
. Table2 {background-color: #FF9900}
. TR1 {background-color: #FF9955}
. TD1 {border-right: #FEDFB3 1px solid; Border-top: #FEDFB3 1px solid; Border-left: #FEDFB3 1px solid; Color: #ff9900; Border-bottom: #FEDFB3 1px solid; Background-color: #FEDFB3}
. TD2 {background-color: #FEEED6;p adding:7px;}
</STYLE>
<table width= "750" border= "0" cellpadding= "3" cellspacing= "1" class= "Table1" >
<tr>
&LT;TD class= "TR1" >
<table width= "100%" border= "0" cellspacing= "0" cellpadding= "0" >
<tr>
<td><font color= "#FFFFFF" face= "Verdana, Arial, Helvetica, Sans-serif" > <strong> server application variables [total <%=Application.Contents.Count%>]
<script>showtools ();</script></strong></font></td>
&LT;TD align= "right" > </td>
</tr>
</table></td>
</tr>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.