my_var = <some logic>
redirect_to :action => 'action2', :my_var => my_var
should work.
Peace,
Phillip
... doug
A global variable is probably not going to help you anyway.
If this "order" is in a database, then you may want to link this data
that you need in action2 to the order as an attribute in the same
table or in a new table the belongs_to :order (even if the need for
the data is "temporary", you do need to handle concurrent users,
right?).
-Rob
Rob Biedenharn http://agileconsultingllc.com
R...@AgileConsultingLLC.com