Re: Strange problem with session and header("Location:script.php?".SID)

Поиск
Список
Период
Сортировка
От Victor Yegorov
Тема Re: Strange problem with session and header("Location:script.php?".SID)
Дата
Msg-id 20030506091336.GD16791@nordlb.lv
обсуждение исходный текст
Ответ на Strange problem with session and header("Location:script.php?".SID)  (Andrei Verovski (aka MacGuru) <andreil1@mail.starlett.lv>)
Список pgsql-php
* Andrei Verovski <andreil1@mail.starlett.lv> [06.05.2003 12:06]:
> Hi,
>
> I have very strange problem with sessions (it is not directly related
> to postgres, although I am using pgsql in my app).

It's still off-topic.

>         header("Location:StartupPage.php?".SID);

I think in PHP you should use $SID, not just SID.
In your case SID is changed to string "SID" (default behaviour, may differs
in different versions of PHP). In such cases  PHP generates warnings.

May be should change error reporting level during debug stage:

error_reporting(E_ALL);

Hope that helps.

--

Victor Yegorov

Вложения

В списке pgsql-php по дате отправления:

Предыдущее
От: Andrei Verovski (aka MacGuru)
Дата:
Сообщение: Strange problem with session and header("Location:script.php?".SID)
Следующее
От:
Дата:
Сообщение: First project done Thanks to your help :))