Hi,

I would like to store some data for each day of the week. My user will click on an item and assign that to period of a particular day. There can be any number of items for each day, for each period.

I'm thinking that I will use sessions to store this information as they are relatively easy to save data to, and they will clear if the user exits the browser (in simple terms). The data is not anything vastly important, so I don't plan on saving it to the database. And since it can be saved [to the database] if the user wishes , I don't plan on saving to a cookie file either.

My question is whether this is the best way to store the data? For example I was considering that I could have 7 sessions for each day of the week and then in each one have 3 arrays (morning, afternoon, evening). Then whatever the user adds I will push onto the end of the correct array in the correct session..

Does that make sense? Is it possible? I know how to set the session but how do I make each one include 3 arrays? That's the bit I'm mostly confused with.

Hope you can help, many thanks!