# Object in a session

**URL:** <https://www.ruby-forum.com/t/object-in-a-session/106339>\
**Category:** Rails\
**Created:** [June 8, 2007, 7:03pm UTC](https://www.ruby-forum.com/t/object-in-a-session/106339 "2007-06-08T19:03:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pablo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/ad7895/32.png) [@pablo](https://www.ruby-forum.com/u/pablo)\
**Post date:** [June 8, 2007, 7:03pm UTC](https://www.ruby-forum.com/t/object-in-a-session/106339/1 "2007-06-08T19:03:28Z")

</div>

Hello

I am working on a e-store. I have a page where user puts his  
address and info, and also chooses form of shipment. When he/she submits  
i want to display the data he/she just entered + add the costs of  
shippment. The cart is already in a session and i just add the costs of  
shipment to cart total. The question is how should i do this. Is putting  
the @order object in a session is the right thing to do, and then after  
confirm just save it? Or maybe i am missing something.
