gigantorTRON Posted September 27, 2007 Share Posted September 27, 2007 Hello. I have a quiz application that submits form data to a database when the submit button is clicked. The application uses sessions. What I need to do is keep form data filled out for a session so if a user wants to go back to review answers they are still filled in. How could I go about doing this?? Quote Link to comment https://forums.phpfreaks.com/topic/70908-solved-quick-question/ Share on other sites More sharing options...
LemonInflux Posted September 27, 2007 Share Posted September 27, 2007 ...What's wrong with setting a simple cookie as well as the session? Quote Link to comment https://forums.phpfreaks.com/topic/70908-solved-quick-question/#findComment-356447 Share on other sites More sharing options...
rarebit Posted September 27, 2007 Share Posted September 27, 2007 I assume you store the data somewhere (db or session vars) and that this is relevant to the session id, well as you create the form again, if the data is present then use it... Quote Link to comment https://forums.phpfreaks.com/topic/70908-solved-quick-question/#findComment-356451 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.