Your question is a little confusing, but I'll take a stab at it. I think what you are saying is that you have an instance (named "SecurityObj") of your
securityClass class that is living in the Session collection and you need to check a property on it. I'll make the assumption the keyname used in the Session collection is "SecurityObj". The session collection returns everything as an object so you need to convert it.
VB:
Dim objSecurity As securityClass
objSecurity = CType(Session("SecurityObj"), securityClass)
objSecurity.LoggedIn
You can shortcut it this way:
CType(Session("SecurityObj"), securityClass).LoggedIn
C# (I think):
securityClass objSecurity;
objSecurity = (securityClass) Session("SecurityObj");
objSecurity.LoggedIn
Peter
------------------------------------------------------
Work smarter, not harder.