In an ASP.NET 3.5 site we have a relatively standard payment checkout progess that contains a number of pages that need to be visited in sequence (shopping basket, payment details etc)
Each page has a "Continue" button that redirects to the next page in the sequence.
I would like a way of managing the page sequence so that:
- I can have a Master page that defines the "Continue" button and its code-behind OnClick event handler
- If the user attempts to visit a page out of sequence (by typing the URL directly into their browser, for example) they get redirected to the correct page
- This page sequence is nicely defined in one place in my code (in an enum for example)