[eluser]Chad Crowell[/eluser]
I have a job site I'm working on, and trying to decide the best way to flow this part of the app:
1. Fill out form to add a job (jobs/add)
2. Insert job into db (jobs/insert)
3. Redirect using redirect() after successful insert to jobs/review
This works fine, but the user sees the url flash to the insert function and then onto the review page. Maybe a little disconcerting.
So I tried eliminating jobs/insert and placing the insert in the controller on the review function. This is nice because once the user submit the job, they are immediately shown the review page (assuming the insert, now in the review function, goes OK), but if for some reason they reload the review page, it will perform the insert again.
Ideas? Workarounds?