We are still in .NET 1.1
I have a small application about 15 pages. The workflow is not simple like step 1, step 2.. But it is very random, user can jump from step 1 to step5 or very randomly. Not only user can jump but due to some business rules we need to put user in respective step x.
What I want to know is how to keep these tracking easy. I mean if I want to send user to step 3 after step 1 and user knows the url for step 7 , he should not able to go there, he should go there where I tell him to go. I mean he should be redirected to step 3.
Makes sense?
The idea I have in mind was to use a session variable, that tracks the users next page. so is there any better way?
Session would be the correct approach from what I can gather from your description. Session is meant for tracking ephemeral data such as this about the user between requests.