Click here to Skip to main content
15,896,557 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have login page and other default pages

whenever we run the aspx pages each one gets executed

how to make all the pages to run in a particular order

ie......
1>LOGINPAGE.ASPX

2>DEFAULT1.ASPX

3>DEFAULT2.ASPX

4>DEFAULT3.ASPX

IF I START EXECUTING DEFAULT3.ASPX IT SHOULD START FROM FIRST IE... FROM LOGIN PAGE
Posted

1 solution

It appears on the surface that you want your pages to run in sequence much like a wizard style application would.
One way, and by no means to I suggest that it is the best way, would be to use either session or cookies to store the progress of the user at any given point in time. Then each page would just have to check the value of this progress cookie/session value to determine if the user should be on the given page they are trying to hit. If the user is on the wrong page, then you can use the current progress value to decide which page the user should be on and then redirect to it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900