dump_the_session_variable
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
dump_the_session_variable [2009/01/14 00:47] – created stephen | dump_the_session_variable [2017/01/01 20:05] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Dump the Session Variable ====== | ||
+ | |||
<code VB> | <code VB> | ||
' Dump the session variable | ' Dump the session variable | ||
Line 23: | Line 25: | ||
End Try | End Try | ||
</ | </ | ||
+ | |||
+ | Or try this: | ||
+ | |||
+ | <code VB> | ||
+ | ' Dump the session variable | ||
+ | Debug.WriteLine(" | ||
+ | Debug.Indent() | ||
+ | For i = 0 To Session.Keys.Count - 1 | ||
+ | key = Session.Keys.Item(i) | ||
+ | If Session.Item(i) Is Nothing Then | ||
+ | type = " | ||
+ | Else | ||
+ | type = Session.Item(i).GetType().ToString() | ||
+ | End If | ||
+ | If type.StartsWith(" | ||
+ | Debug.WriteLine(" | ||
+ | Else | ||
+ | Debug.WriteLine(" | ||
+ | End If | ||
+ | Next | ||
+ | Debug.Unindent() | ||
+ | Debug.Flush() | ||
+ | </ | ||
+ | |||
+ | |||
{{tag> | {{tag> |
dump_the_session_variable.1231894077.txt.gz · Last modified: 2017/01/01 19:49 (external edit)