sono Posted July 26, 2006 Share Posted July 26, 2006 I am using field_forwarder in my multi-page form. It works beautifully but I have now been asked to alter the script so that the client is able to go back at any point and change info if needed, but the field variables get wiped out if you go back.Any help is greatly appreciated as I dont want to start over with this script! I am also a newbie at php so may need some hand-holding ;D Quote Link to comment https://forums.phpfreaks.com/topic/15656-field_forwarder-help-need-the-user-to-be-able-to-make-edits/ Share on other sites More sharing options...
Moon-Man.net Posted July 26, 2006 Share Posted July 26, 2006 It may be insecure(Correct me if im wrong) But you could use php Sessions. Do some googleing on sessions, basically there a Global variable for each "Session" that is opened with the webserver.they are valid untill the Explorer window gets closed.Cheers,NAthan Quote Link to comment https://forums.phpfreaks.com/topic/15656-field_forwarder-help-need-the-user-to-be-able-to-make-edits/#findComment-63824 Share on other sites More sharing options...
sono Posted July 26, 2006 Author Share Posted July 26, 2006 Can anyone please elaborate on this. I have tried to do a search on sessions and have placed [code]<?phpsession_start(); include ('../../field_forwarder.php');?>[/code]at the top of my pages. But if I use the 'back' button on the browser I get a post data error. I read that this is because my form uses 'POST' instead of 'GET' but field_forwarder() requires 'POST'Any help would be very much appreciated. Quote Link to comment https://forums.phpfreaks.com/topic/15656-field_forwarder-help-need-the-user-to-be-able-to-make-edits/#findComment-64399 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.