in session tracking we have methods tod store and retrieve values from session
object..In my program I am storing all the individual products selected by
the user in a session object
using session.putvalue("cart.items", prodselected[i]), but in the next servlet
i need to retrive all the values individually stored by the user in the session
object, so for this

we have session.getValue("cart.items") - it retrieves only one(the recent
stored value), and session.getValueNames();;;but i want to retrive all the
values and there is no method such as

session.getvalues("cart.items") how do i do it,

if anyone understood the problem pls help me