I currently have a website that collects information (mainly text and integers) inputed by users and stores that information into an object which is in turn stored in Session. Each page has its own object and each object knows if it is valid or not.
Everytime the user advances to the next page it checks to see if all of the data collected up to this point is valid by checking the objects which are stored in Session.
If the object is missing or if the data is invalid the user is redirected back to the page where the error was made.
Now here's the problem....when I redirect them back to the page they came from because the object contains invalid data, the object is no longer there.
I have no idea why this happens but I would like to redisplay the data on the screen (with error messages) when the user is redirected back but I cannot do this because somehow the objects no longer exist.
Has anyone got any thoughts on why this might be?