mike55 Posted July 10, 2006 Posted July 10, 2006 Hi all I have a number of pages, which are used to collect user information, when the user clicks on the continue button on the final page, then a subscription is created for them. The problem that I am encoutering is that the user can start pressing the browser back button, and navigate back to the start of the process, and then start clicking the forward button, which causes that entire application to fail when they reach the last page. Any suggestions on how I can prevent this from happening, I know that I can screw with the browser buttons themselves. mike55. Quote A Client refers to the person who incurs the development cost. A Customer refers to the person that pays to use the product. ------ My software never has bugs. It just develops random features. (Mosabama vbforums.com)
Diesel Posted July 11, 2006 Posted July 11, 2006 What kind of pages are these? You could just save viewstate. How much of a change are you looking for? Are you looking for a hack or a design change? Quote
mike55 Posted July 11, 2006 Author Posted July 11, 2006 Q1. Standard .aspx pages. Q2. Will check out viewstate. Q3. Would consider either. Mike55 Quote A Client refers to the person who incurs the development cost. A Customer refers to the person that pays to use the product. ------ My software never has bugs. It just develops random features. (Mosabama vbforums.com)
Diesel Posted July 11, 2006 Posted July 11, 2006 What about going back causes the app to fail? Is it that the fields are empty? Saving viewstate would solve this. Also, put some validation on each form. Is it a database constraint? Such as creating a record with same primary key. In that case, using a sequence field as the primary key would work. If you really don't want the user to travel backwards, you can consolidate all of the pages into one, with one form, and use div's to hide and show each step. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.