Okay i'm redesigning a internal corporate site that basically collects information from users and runs error checking on that information then puts it into a database. I was wondering what the best way of doing this was?
Currently i just have 51 sesssion variables and use if statements to run error checking on them. I didn't originaly design it with OO in mind as i have to do different/unique error checking with each variable. But now, as i do my redesign, i got tired of looking at huge lists of variables and want a more efficient way of doing this.
With efficiency, data integrity and simplicity in mind what is the recommended way of handling this many variables? Should i create objects for them and serialize them between pages or just stick with large lists of session variables or what?
Thanks in adavnce,
-emrys