Hi,
I am working on a small site, whose main purpose is to gather lots of user registration data and use that for their need. Now since the required data is quite heavy, I will be splitting my forms across 3 or even 4 pages.
How should I keep track of the data being submitted on the earlier pages? I can keep the data in a temporary table in the database using MySQL, and purge all of that across the main tables once the final page is done, but I guess that is a bit risky. Another option is to set a cookie to hold all that information. Maintaining a session is another one, though I do not wish to bloat my session variable.
How do I check my fields for validation? Should I include both Javascript as well as PHP validation?
Any help would be very welcome. Thanks.
I am working on a small site, whose main purpose is to gather lots of user registration data and use that for their need. Now since the required data is quite heavy, I will be splitting my forms across 3 or even 4 pages.
How should I keep track of the data being submitted on the earlier pages? I can keep the data in a temporary table in the database using MySQL, and purge all of that across the main tables once the final page is done, but I guess that is a bit risky. Another option is to set a cookie to hold all that information. Maintaining a session is another one, though I do not wish to bloat my session variable.
How do I check my fields for validation? Should I include both Javascript as well as PHP validation?
Any help would be very welcome. Thanks.
Comment