Can i store multiple values in session ? how?

You can store all kinds of stuff in a session, but it will all get stored on your disk or wherever your sessions are stored and could take up alot of space if you don't clear it out over time.

suppose myrec was an array of some kind of records. You could store as many as you like in the session:

myid = :'id432343' @session[myid] = myrec[0] myid = :'id432343' @session[myid] = myrec[1]

... ...