Re: Sessions and Forms

From: Date: Wed, 07 Jun 2000 15:39:05 +0000
Subject: Re: Sessions and Forms
Groups: php.general 
Request: Send a blank email to php-general+get-1224@lists.php.net to get a copy of this message
BTW, just an idea for a work-around: Instead of prompting the user to push the back button, you could either code a hidden form (in which you fill all the data entered already by the user) with a submit ("self-made-back") button, which calls the former page again with all the field contents pre-set. Or you pass the data entered via an URL ("please check your data entered and therefor go _back_ ")back to the first page. (Just the 2 ways to pass the data back to the first page). Perhaps working with session causes the browser somehow to reload every page...) Steff |-------------> |(Embedded | |image moved | |to file: | |pic28878.pcx)| | | |-------------> >------------------------------------------------------------------------| |Phil Ahern <phil@caint.com> | |07.06.2000 17:22 | >------------------------------------------------------------------------| To: PHP <php-general@lists.php.net> cc: (bcc: Stephan Schoell/CHHOS/ABB) Subject: [PHP-GENERAL] Sessions and Forms Security Level:? Internal Hey all, Does anyone know if setting a session has any effect on forms. when I put session_start() at the top of my files with a form in, it does not keep the values for the form when pressing back. i.e. if someone makes a mistake on a form and has to go back the values they had entered are gone. However if I take the session_start() out again and press back everything is fine. Thanks a million Phil Caint.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#1224) next »