RE: [PHP] header() ???

From: Date: Thu, 14 Sep 2000 07:01:00 +0000
Subject: RE: [PHP] header() ???
Groups: php.general 
Request: Send a blank email to php-general+get-16718@lists.php.net to get a copy of this message
> Thanks a lot for your detailed explanation. > > Is this equivalent to your example: > > if (!isset($PHPSESSID)) { > include "login.php"; > exit(); > } > > In this way, the browser will display the login page and will > not continue process the rest of current page. No, the browser will display the contents of the login page. If someone then goes "aha, I'll bookmark this and come back to it later", then they could possibly end up with something completely different. Jason

« previous php.general (#16718) next »