I'm currently writing an application which users pop in information about a product. The meat of the information is put into a page with four tabs. Tabs are labeled with something like:
Info | Photos | Misc | Preview
I'd like Photos/Misc/Preview to NOT be accessible until all the proper information is input into Info and validated by client/server-side stuff and input into a database so an object can be referenced for the rest of the tabs.
My question is basically not how to do this, but more of a best practice approach. How would you folks prefer something like this handled? Using $_SESSION? Disable navigating to tabs or redirecting the user to Info until it properly returns some value? After it has that value, allow navigation to the other tabs?
Code examples surely would be appreciated also and I'll award points to whoever gives me the most insightful response.