dump_the_session_variable
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dump_the_session_variable [2009/01/14 23:51] – stephen | dump_the_session_variable [2017/01/01 20:05] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 25: | 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.1231977107.txt.gz · Last modified: 2017/01/01 19:49 (external edit)