Subversion Repositories DevTools

Rev

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