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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



* Andrei Verovski <andreil1@xxxxxxxxxxxxxxxx> [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

Attachment: pgpu8KkrzsTiI.pgp
Description: PGP signature


[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux