Subversion Repositories DevTools

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4399 dpurdie 1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
3
'=====================================================
4
'|                                                   |
5
'|                ADMIN Page                         |
6
'|               Display Session Details             |
7
'|                                                   |
8
'=====================================================
9
%>
10
<%
11
Option explicit
12
' Good idea to set when using redirect
13
Response.Expires = 0   ' always load the page, dont store
14
%>
15
<!--#include file="common/conf.asp"-->
16
<!--#include file="common/globals.asp"-->
17
<!--#include file="common/qstr.asp"-->
18
<!--#include file="common/common_subs.asp"-->
19
<%
20
'------------ ACCESS CONTROL ------------------
21
%>
22
<!--#include file="_access_control_general.asp"-->
23
<%
24
'------------ Variable Definition -------------
25
Dim name, datatype, data
26
Dim active
27
Dim parServerReq
28
 
29
'------------ Constants Declaration -----------
30
'------------ Variable Init -------------------
31
active = objAccessControl.IsActive("MSMaintainer")
32
parServerReq = Request("detail")
33
'----------------------------------------------
34
%>
35
<html>
36
<head>
37
<title>Admin Session Variables</title>
38
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
39
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
40
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
41
<link rel="stylesheet" href="images/navigation.css" type="text/css">
42
<script language="JavaScript" src="images/common.js"></script>
43
<!-- DROPDOWN MENUS -->
44
<!--#include file="_menu_def.asp"-->
45
<script language="JavaScript1.2" src="images/popup_menu.js"></script>
46
<!-- StyleSheet Extensions -->
47
<style>
48
.pagebody {margin-left:auto; margin-right:auto; width:50%;border-width: 0px;border-spacing: 2px; background-color: rgb(255, 204, 0)}
49
.pagebody td{vertical-align: top;text-align: left;padding-left: 3px;padding-right: 3px; background: #f2f0e4}
50
.tablehdr td{background-color: rgb(255, 204, 0)}
51
</style>
52
</head>
53
 
54
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
55
<!-- MENU LAYERS -------------------------------------->
56
<div id="popmenu" class="menuskin" onMouseover="clearhidemenu();highlightmenu(event,'on')" onMouseout="highlightmenu(event,'off');dynamichide(event)">
57
</div>
58
<!-- TIPS LAYERS -------------------------------------->
59
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10">&nbsp;</div>
60
<!-- HEADER -->
61
<!--#include file="_header.asp"-->
62
<p>
63
<!-- Body of the page -->
64
<table class="pagebody">
65
   <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
66
      <tr class="body_col tablehdr">
67
      <td>Server Request Variables</td>
68
      <td>Value</td>
69
   </tr>
70
   <%If active Then %>
71
   <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
72
 
73
   <%If parServerReq <> "" Then %>
74
   <%for each name in request.servervariables%>
75
   <tr class="body_row">
76
     <td> <%= name %></td>
77
     <td> <%= request.servervariables(name) %></td>
78
   </tr>
79
   <%Next%>
80
   <%Else%>
81
   <tr class="body_row">
82
     <td></td>
83
     <td>
84
       <a class="form_btn" href="admin_session_details.asp?detail=1" title="More Detail">Show</a>
85
     </td>
86
   </tr>
87
   <%End If%>
88
   <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
89
      <tr class="body_col tablehdr">
90
      <td>Session Variables</td>
91
      <td>Value</td>
92
   </tr>
93
   <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
94
   <%for each name in Session.Contents
95
       datatype = TypeName(Session(name)) & ":" & VarType(Session(name))
96
       If VarType(Session(name)) < 100 Then
97
           data  = Session(name)
98
       Else
99
           data = "Cannot be displayed"
100
       End If
101
    %>
102
   <tr class="body_row">
103
     <td> <%= name %></td>
104
     <td> [<%=datatype%>] : <%=data%></td>
105
   </tr>
106
   <%Next%>
107
 
108
   <tr class="body_row">
109
     <td>Timeout</td>
110
     <td><%=Session.Timeout%></td>
111
   </tr>
112
   <tr class="body_row">
113
     <td>SessionId</td>
114
     <td><%=Session.SessionId%></td>
115
   </tr>
116
   <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
117
   <tr class="body_col tablehdr">
118
      <td>Application Variables</td>
119
      <td>Value</td>
120
   </tr>
121
   <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
122
 
123
   <%for each name in Application.Contents%>
124
   <tr class="body_row">
125
     <td><%= name %></td>
126
     <td><%= Application(name) %></td>
127
   </tr>
128
   <%Next%>
129
   <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
130
   <tr class="body_col tablehdr">
131
      <td colspan="2">
132
       <a class="form_btn" href="admin_session_details.asp" title="Refresh Page">Refresh</a>
133
       <a class="form_btn" href="admin_session_details.asp?detail=1" title="More Detail">More</a>
134
      </td>
135
   </tr>
136
   <%End If%>
137
</table>
138
 <p>
139
</body>
140
</html>
141
<!-- FOOTER -->
142
<!--#include file="_footer.asp"-->
143
<%
144
Call Destroy_All_Objects
145
%>