Passing data from one controller action to another

I have two actions in my controllers and one action takes a post item and then gets $id as per that which I would like to pass to the second action that is view($id)

How can I achieve this?

any ideas?

This way you can pass as GET variable