Chikara
04-11-2007, 02:11 PM
Is it possible to store an object as a session object.
example
set n = new comment
n.id = 2
set session("blah") = n
set n = new comment
set n = session("blah")
Response.write(n.id)
I'm looking for the output to be 2. I know this probably isn't the best way to handle this. I'm wondering how to get an object in and out of a session object, if possible.
Thanks!
example
set n = new comment
n.id = 2
set session("blah") = n
set n = new comment
set n = session("blah")
Response.write(n.id)
I'm looking for the output to be 2. I know this probably isn't the best way to handle this. I'm wondering how to get an object in and out of a session object, if possible.
Thanks!