Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Objects in sessions

Status
Not open for further replies.

novicom

Programmer
Mar 15, 2001
2
NL
Hi there,

I would like to add a value (instance of a class) to a session variable. The problem is that i get an error on the cast I do when getting the value back in another page using aClassInstance = (myClass) (session.getValue("ClassInstance"));

I think the problem is that the class has a member which is a vector to another vector and the other vector's are not copied along with the session putValue function.

Any help is appreciated

Thanx Rim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top