I'm trying to find a solution to pass data from one view to another. I have to following situation. On the first view I have a table with different data of a user and a button, which opens a new view. On this view I will need the user_id from the first view. How can I transfer the user_id from the first view to a hidden field on the second view? Or is it even better to pass the user_id within a session as flash data?