⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 shopa_sessionlist.asp

📁 本软件可以实现的功能如下:   用户管理
💻 ASP
字号:
<%@ Language=VBScript %>
<% Option Explicit %>
<% 
   'How many session variables are there?
   Response.Write "There are " & Session.Contents.Count & _
             " Session variables<P>"

   Dim strName, iLoop
   'Use a For Each ... Next to loop through the entire collection
   For Each strName in Session.Contents
     'Is this session variable an array?
     If IsArray(Session(strName)) then
       'If it is an array, loop through each element one at a time
       Response.write "Array " & strName & "<br>" 
'       For iLoop = LBound(Session(strName)) to UBound(Session(strName))
'        Response.Write strName & "(" & iLoop & ") - " & _
'             Session(strName)(iLoop) & "<BR>"
'       Next
     Else
       'We aren't dealing with an array, so just display the variable
       Response.Write strName & " - " & Session.Contents(strName) & "<BR>"
     End If
   Next

%> 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -