Re: RE: regarding session
| From: | 1LT John W. Holmes | Date: | Thu, 19 Sep 2002 17:34:22 +0000 |
| Subject: | Re: RE: regarding session | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-21851@lists.php.net to get a copy of this message | ||
> if(!session_is_registered("UserID"))
> {
> header("Location: login.php");
> }
>
> else
> {
> ... some other stuff, if user is logged in...
> }
again....this must be put before there is any ouput to the page. Before
<html> or even a blank space. This includes any files that are included
before this point.
---John Holmes...