View Full Version : Passing Objects in Session
voxecho
04-24-2007, 05:40 PM
i've been running into a problem where sometimes my passed objects lose their identity when picked back up.
depending on how they are handled, i am losing methods and properties in an object (though typename(o) is still returning the object name)
Any ideas on what may be going on?
Thanks
Echo
glenngv
05-02-2007, 05:08 AM
Can you post your code? Are you using the Set keyword to assign the session to a variable?
Set obj = Session("objSession")
voxecho
05-02-2007, 02:05 PM
yes i am, like i said, the code works most of the time, but now and then it didn't. i've done what i prolly should have done in the first place, and tokenized the properties into an xml string for passing to the session, then made a new object on the next page to parse and populate. so it's all been taken care of.
-Echo
[QUOTE=glenngv;562372]Can you post your code? Are you using the Set keyword to assign the session to a variable?
vBulletin® v3.8.2, Copyright ©2000-2010, Jelsoft Enterprises Ltd.