...

View Full Version : Passing Objects in Session



voxecho
04-24-2007, 06: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, 06: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, 03: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?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum