I am putting it in a session in a webform and then in a another winform I am
trying to pull it out of session.
"Raterus" <ra*****@spam.org> wrote in message
news:ec***************@TK2MSFTNGP09.phx.gbl...
I don't really understand what you are trying to do, or how this has
anything to do with winforms.
if you need to put a object into the session and then pull it out, this
should do it
dim myObj as ClassA = new ClassA
Session("something") = myObj
...
Dim anotherObj as ClassA
anotherObj = CType(Session("something"), ClassA)
"acool" <no**@sendme.com> wrote in message
news:OC**************@tk2msftngp13.phx.gbl...
I want the ability to fill in the public properties of a given class in a
webform pump that class into a session variable and then recreate a new
instance of that class in order to grab those same properties. The only
thing that has me stumped is how to grab the appropriate session object in
order to grab th right class. Can this be done or is there a better way to
do this?