Don't want page skipping ahead or going back
<p>I am creating an application on the browser but I do not want the user to skip pages while on certain pages in my browser. Think of this. If I want user to create something but for them to be able to create something they must go through pages 1, 2 and 3, well what happens if user is on page 1 but then manage to skip to page 3 by entering url? It kinds of messes it up</p>

<p>Again dealing with page 1,2,3, if user completes page 1, data inserted in database, but then if user is on page 2 then I don't want them to go back to page 2 because I don't want them to change any details the previously entered. I don't want user to do similar thing when using forward browser button.</p>

<p>I need this working in all major browsers, IE, Chrome, Firefox, Firefox, Opera</p>

<p>A sample code will be very, very helpful to me.</p>
