Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jan 2006
    Location
    South Central, KS
    Posts
    81
    Thanks
    2
    Thanked 2 Times in 2 Posts

    Passing Objects in Session

    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

  • #2
    Supreme Master coder! glenngv's Avatar
    Join Date
    Jun 2002
    Location
    Philippines
    Posts
    11,042
    Thanks
    0
    Thanked 251 Times in 247 Posts
    Can you post your code? Are you using the Set keyword to assign the session to a variable?

    Code:
    Set obj = Session("objSession")

  • #3
    New Coder
    Join Date
    Jan 2006
    Location
    South Central, KS
    Posts
    81
    Thanks
    2
    Thanked 2 Times in 2 Posts
    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?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •