Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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.

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)

Posted

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?

Posted

Q1. Standard .aspx pages.

Q2. Will check out viewstate.

Q3. Would consider either.

 

Mike55

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)

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...