RE: Re: Re: Secure pages

From: "Christian Marschalek" <cm(at)chello(dot)at>
To: "[PHP] PostgreSQL" <pgsql-php(at)postgresql(dot)org>, "Chris" <csmith(at)squiz(dot)net>
Subject: RE: Re: Re: Secure pages
Date: 2001-03-14 01:40:43
Message-ID: NEBBJIFEELNNHFCELNFJCEABCBAA.cm@chello.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Chris 2001-03-14 04:13:29 RE: Re: Re: Secure pages
Previous Message Christian Marschalek 2001-03-14 01:39:28 RE: Re: Re: Secure pages