I have an object variable, which is an instance of an ASP class, that I am
trying to store in a session:

<%
class myClass

function myMethod
  ..do some stuff
end function

end class
%>

I do this:

set obj = new myClass

set session("x") = obj

and then later this:

set myobj = session("x")
myobj.myMethod

but when I try to call myMethod on myobj I get this error:

"Object doesn't support this property or method: 'myMethod'"

I am able to call myMethod on the object before I put it in the session,
so I know it's there and working. For some reason, pulling it out of the
session seems to cause this crazy behavior. Does anyone have a clue as to
what might be happening here?

Thanks.

---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to