Submitted by Arancaytar on Tue, 11/14/2006 - 17:32.
There is another, better way to store these form fields and status messages: Sessions.
I am quite ignorant when it comes to using PHP Sessions, and I didn't even know they existed until recently - a technology that will store persistent variables over several pages, as long as the user remains logged in.
PHP Sessions, client-side, work by storing a big number (the Session ID) either in a cookie or as a Get parameter that gets added to each link on the page. The point is that the values no longer need to be sent separately to the user, but can be lumped into the session.
Sessions
There is another, better way to store these form fields and status messages: Sessions.
I am quite ignorant when it comes to using PHP Sessions, and I didn't even know they existed until recently - a technology that will store persistent variables over several pages, as long as the user remains logged in.
PHP Sessions, client-side, work by storing a big number (the Session ID) either in a cookie or as a Get parameter that gets added to each link on the page. The point is that the values no longer need to be sent separately to the user, but can be lumped into the session.