Here is the solution to your problem if you are using a session can solve your problem because store the array in session variable because after...
Separate names with a comma.