# Transaction to DB in session

**URL:** <https://www.ruby-forum.com/t/transaction-to-db-in-session/169028>\
**Category:** Rails\
**Created:** [May 28, 2009, 3:56pm UTC](https://www.ruby-forum.com/t/transaction-to-db-in-session/169028 "2009-05-28T15:56:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chandramit](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/49beb7/32.png) [@chandramit](https://www.ruby-forum.com/u/chandramit)\
**Post date:** [May 28, 2009, 3:56pm UTC](https://www.ruby-forum.com/t/transaction-to-db-in-session/169028/1 "2009-05-28T15:56:04Z")

</div>

HI

I have few forms with respect to their database table,as it is working  
fine in normal flow

but what if user enters few forms and clicks back button in the  
browser,is there a way to handle it

2)what if i need to enter all the form data once to their respective  
model at end of all form

is their a way to handle this two…

can u help me out in finishing my application

thanx
