RE: Re: Re: Secure pages

Поиск
Список
Период
Сортировка
От Christian Marschalek
Тема RE: Re: Re: Secure pages
Дата
Msg-id NEBBJIFEELNNHFCELNFJCEABCBAA.cm@chello.at
обсуждение исходный текст
Ответ на RE: Re: Re: Secure pages  (Chris <csmith@squiz.net>)
Ответы RE: Re: Re: Secure pages  (Chris <csmith@squiz.net>)
Список 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 по дате отправления:

Предыдущее
От: "Christian Marschalek"
Дата:
Сообщение: RE: Re: Re: Secure pages
Следующее
От: Chris
Дата:
Сообщение: RE: Re: Re: Secure pages