I would put a script at the top of the page, that process all of the form data. store the information in a serialized multidimensional array. When you want to add to it, just pull what you already have from the session, unserialize it, add to it, then reserialize it and put it back.