jQuery in Action, 2nd edition
The moose likes JSP and the fly likes Session Variables Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Session Variables" Watch "Session Variables" New topic
Author

Session Variables

Magnus Bogucki
Greenhorn

Joined: Feb 09, 2003
Posts: 1
Is it possible to store an array of data in a session variable? And if so - how do I store it in a session variable and what method should I use in order to retrieve the data on another page.
Thanks.
Kaustubh Patil
Ranch Hand

Joined: Aug 13, 2001
Posts: 164
You can store any object in the session. Array is nothing but an object. So you can store an array.
Please see the API documentation for the suitable method.


Kaustubh. Mumbai, India.
 
 
subject: Session Variables
 
Threads others viewed
Session Size in Servlets
anything available just like static?
Form data loss
JSP to JSP Forward to Servlet
Tracking users and user security
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture