Subversion Repositories DevTools

Rev

Rev 5957 | Rev 6048 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5357 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 = canActionControl("MSMaintainer")
32
parServerReq = Request("detail")
33
'----------------------------------------------
34
%>
35
<html>
36
<head>
37
<title>Admin Session Variables</title>
38
<link rel="shortcut icon" href="<%=FavIcon%>"/>
39
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
40
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
41
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
42
<link rel="stylesheet" href="images/navigation.css" type="text/css">
43
<script language="JavaScript" src="images/common.js"></script>
5983 dpurdie 44
<!--#include file="_jquery_includes.asp"-->
5357 dpurdie 45
<!-- DROPDOWN MENUS -->
46
<!--#include file="_menu_def.asp"-->
47
<script language="JavaScript1.2" src="images/popup_menu.js"></script>
48
<!-- StyleSheet Extensions -->
49
<style>
50
.pagebody {margin-left:auto; margin-right:auto; width:50%;border-width: 0px;border-spacing: 2px; background-color: rgb(255, 204, 0)}
51
.pagebody td{vertical-align: top;text-align: left;padding-left: 3px;padding-right: 3px; background: #f2f0e4}
52
.tablehdr td{background-color: rgb(255, 204, 0)}
53
</style>
54
</head>
55
 
56
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" >
57
<!-- MENU LAYERS -------------------------------------->
58
<div id="popmenu" class="menuskin" onMouseover="clearhidemenu();highlightmenu(event,'on')" onMouseout="highlightmenu(event,'off');dynamichide(event)">
59
</div>
60
<!-- TIPS LAYERS -------------------------------------->
61
<div id="formTipsLayer" style="position: absolute; z-index: 1000; visibility: hidden; left:0; top: 0; width: 10">&nbsp;</div>
62
<!-- HEADER -->
63
<!--#include file="_header.asp"-->
64
<p>
65
<!-- Body of the page -->
66
<table class="pagebody">
67
   <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
68
      <tr class="body_col tablehdr">
69
      <td>Server Request Variables</td>
70
      <td>Value</td>
71
   </tr>
72
   <%If active Then %>
73
   <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
74
 
75
   <%If parServerReq <> "" Then %>
76
   <%for each name in request.servervariables%>
77
   <tr class="body_row">
78
     <td> <%= name %></td>
79
     <td> <%= request.servervariables(name) %></td>
80
   </tr>
81
   <%Next%>
82
   <%Else%>
83
   <tr class="body_row">
84
     <td></td>
85
     <td>
86
       <a class="form_btn" href="admin_session_details.asp?detail=1" title="More Detail">Show</a>
87
     </td>
88
   </tr>
89
   <%End If%>
90
   <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
91
      <tr class="body_col tablehdr">
92
      <td>System Variables</td>
93
      <td>Value</td>
94
   </tr>
95
   <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
96
   <tr class="body_row">
97
     <td>Server Date Time</td>
98
     <td><%=Day(Now)%>-<%=Month(Now)%>-<%=Year(Now)%>&nbsp;<%=Time()%></td>
99
   </tr>
100
 
101
   <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
102
      <tr class="body_col tablehdr">
103
      <td>Session Variables</td>
104
      <td>Value</td>
105
   </tr>
106
   <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
107
   <%for each name in Session.Contents
108
       datatype = TypeName(Session(name)) & ":" & VarType(Session(name))
109
       If VarType(Session(name)) < 100 Then
110
           data  = Session(name)
111
       Else
112
           data = "Cannot be displayed"
113
       End If
114
    %>
115
   <tr class="body_row">
116
     <td> <%= name %></td>
117
     <td> [<%=datatype%>] : <%=data%></td>
118
   </tr>
119
   <%Next%>
120
 
121
   <tr class="body_row">
122
     <td>Timeout</td>
123
     <td><%=Session.Timeout%></td>
124
   </tr>
125
   <tr class="body_row">
126
     <td>SessionId</td>
127
     <td><%=Session.SessionId%></td>
128
   </tr>
129
   <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
130
   <tr class="body_col tablehdr">
131
      <td>Application Variables</td>
132
      <td>Value</td>
133
   </tr>
134
   <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
135
 
5375 dpurdie 136
   <%for each name in Application.Contents
137
       If VarType(Application(name)) < 100 Then
138
           data  = Application(name)
139
       Else
140
           data = "Cannot display data type:" & TypeName(Application(name)) & ":" & VarType(Application(name))
141
       End If
142
   %>
5357 dpurdie 143
   <tr class="body_row">
144
     <td><%= name %></td>
5375 dpurdie 145
     <td><%= data %></td>
5357 dpurdie 146
   </tr>
147
   <%Next%>
148
   <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
149
   <tr class="body_col tablehdr">
150
      <td colspan="2">
151
       <a class="form_btn" href="admin_session_details.asp" title="Refresh Page">Refresh</a>
152
       <a class="form_btn" href="admin_session_details.asp?detail=1" title="More Detail">More</a>
153
      </td>
154
   </tr>
155
   <%End If%>
156
</table>
157
 <p>
5957 dpurdie 158
<!-- FOOTER -->
159
<!--#include file="_footer.asp"-->
5357 dpurdie 160
</body>
161
</html>