I'm storing a Class I defined myself in the Session collection. However, when I retrieve it from the Session collection, it doesn't have any fields or properties or methods.
So it's still an object of type PurchaseRequisition, but it doesn't have any of the fields/properties/methods. WTF?
code:<HR>Code:dim foo Set foo = new PurchaseRequisition ' assign some fields to foo Set Session("NEWREQ") = foo<P>dim bar Set bar = Session("NEWREQ") Response.Write isObject(bar) ' prints "true" Response.Write typeName(bar) ' prints "PurchaseRequisition" Response.Write bar.somefield ' "Object doesn't support this property or method"
So it's still an object of type PurchaseRequisition, but it doesn't have any of the fields/properties/methods. WTF?