Re: Re: More questions about SESSION use
| From: | Chris | Date: | Mon, 02 Feb 2009 22:18:32 +0000 |
| Subject: | Re: Re: More questions about SESSION use | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-287553@lists.php.net to get a copy of this message | ||
Edmund Hertle wrote:
2009/2/1 Terion Miller <webdev.terion@gmail.com>Yes they will because there is no 'exit'. Header is just a function call, if you want to stop processing you have to do it yourself. -- Postgresql & php tutorials http://www.designmagick.com/Those two lines after header() will not be executed.true){This is how it was originally written: if (empty($_SESSION['AdminLogin']) || $_SESSION['AdminLogin'] !=header ("Location: LogOut.php"); $_SESSION['user']=$UserName; $_SESSION['AdminID']=$AdminID; <--*I added this one originally thescript only used 'user' and 'AdminLogin'* but passed them in urls }