RE: Re: Re: Secure pages - Mailing list pgsql-php

From Christian Marschalek
Subject RE: Re: Re: Secure pages
Date
Msg-id NEBBJIFEELNNHFCELNFJCEABCBAA.cm@chello.at
Whole thread Raw
In response to RE: Re: Re: Secure pages  (Chris <csmith@squiz.net>)
Responses RE: Re: Re: Secure pages
List pgsql-php
> As someone else suggested, have a check on each page for a
> session variable
> (which of course is set when they login).
>
> <?
>          if (!isset($sessionvariable) {
>            header("Location:login.php");
>            exit;
>          }
> ?>

will do.. what excatly are session variables?

> This can be in an include file, as a function (just remember to globalise
> variables! I always forget :P), that way it will get checked on all your
> protected pages :)

globalise? there are no global variables in php, are they?;)

regards


pgsql-php by date:

Previous
From: "Christian Marschalek"
Date:
Subject: RE: Re: Re: Secure pages
Next
From: Chris
Date:
Subject: RE: Re: Re: Secure pages