cturpin Posted December 7, 2006 Share Posted December 7, 2006 Hi all, Any help on this would be greatly appreciated! Here's the situation: I'm building a signup page and there's a link to a privacy policy at the bottom of the form. If the user fills out the form, and thinks, "Hmm, I should check the privacy policy" and clicks the link to view it, they go to the new page. Once they click a "continue" button at the bottom of the privacy policy, they return to the form but all fields are blank. Now, I know I should start a session and store all the form fields in the $_SESSION global but how do I go about doing that, AND redirecting the user to the new page? CPS. I read the [url=http://www.phpfreaks.com/forums/index.php/topic,117717.0.html]flush, then redirect[/url] and I got a bit further but any comments would still be of great use! Thanks! Quote Link to comment Share on other sites More sharing options...
trq Posted December 7, 2006 Share Posted December 7, 2006 You would need to submit the form to the privacy policy page, stor ehte values into a session and then upon retun to the form page, load the data back into the form from within the sessions. Quote Link to comment Share on other sites More sharing options...
SharkBait Posted December 7, 2006 Share Posted December 7, 2006 Could have the privacy policy pop up another window so they don't loose their data in the form. No need to reqired. Quote Link to comment 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.