查詢現有Session數量、名稱及值

摘要:查詢現有Session數量、名稱及值

 

 dim j


j=Session.Contents.Count

Response.Write("Session variables: " & j & "
") dim i k = 1 For Each i in Session.Contents Response.Write(i &":" &Session.Contents(k) & "
") k=k+1 Next

下次要用就複製貼上了..