T
tshad
I have some code to go through a session collection for my error page
routine and I get an error on my objects that I store in session variables.
Dim strName as String
Dim iLoop as Integer
For Each strName in Session.Contents
trace.warn(strName & " - " & Session.Contents(strName))
Next
How do I determine what the variable type of each session variable is? I
get an error if I try to print the contents of a non-scalar object (of
course).
In a trace window MS lists the type and the value. If not a scalar type it
just puts the variable type in the value field. Such as:
EmailHtml System.Boolean False
CompanyID System.Int64 1000
User RolesBasedAuthentication.User
RolesBasedAuthentication.User
I need to do something like this.
Thanks,
Tom
routine and I get an error on my objects that I store in session variables.
Dim strName as String
Dim iLoop as Integer
For Each strName in Session.Contents
trace.warn(strName & " - " & Session.Contents(strName))
Next
How do I determine what the variable type of each session variable is? I
get an error if I try to print the contents of a non-scalar object (of
course).
In a trace window MS lists the type and the value. If not a scalar type it
just puts the variable type in the value field. Such as:
EmailHtml System.Boolean False
CompanyID System.Int64 1000
User RolesBasedAuthentication.User
RolesBasedAuthentication.User
I need to do something like this.
Thanks,
Tom