X-Original-To: pgsql-php@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 4BDDB475EDF for ; Tue, 6 May 2003 05:11:31 -0400 (EDT) Received: from shield.nordlb.lv (shield.pirmabanka.lv [195.114.57.4]) by postgresql.org (Postfix) with ESMTP id 2885F4764F0 for ; Tue, 6 May 2003 05:11:28 -0400 (EDT) Received: from wall2.pirmabanka.lv (wall2-pub.nordlb.lv [195.114.57.14]) by shield.nordlb.lv (8.12.9/8.12.9) with SMTP id h469BTbg023529 for ; Tue, 6 May 2003 12:11:29 +0300 Received: from share.nordlb.lv ([10.0.0.10]) by wall2.pirmabanka.lv; Tue, 06 May 2003 12:11:28 +0300 (EET DST) Received: from pc311x1.nordlb.lv (localhost.localdomain [127.0.0.1]) by nordlb.lv (8.11.6/8.11.6) with SMTP id h469BST03227 for ; Tue, 6 May 2003 12:11:28 +0300 Received: (qmail 17463 invoked by uid 100); 6 May 2003 09:13:37 -0000 Date: Tue, 6 May 2003 12:13:36 +0300 From: "Victor Yegorov" To: Andrei Verovski (aka MacGuru) Cc: pgsql-php@postgresql.org Subject: Re: Strange problem with session and header("Location:script.php?".SID) Message-ID: <20030506091336.GD16791@nordlb.lv> Mail-Followup-To: Andrei Verovski (aka MacGuru) , pgsql-php@postgresql.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rJwd6BRFiFCcLxzm" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i X-Spam-Status: No, hits=-37.8 required=5.0 tests=BAYES_10,IN_REP_TO,PGP_SIGNATURE_2,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200305/3 X-Sequence-Number: 2008 --rJwd6BRFiFCcLxzm Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Andrei Verovski [06.05.2003 12:06]: > Hi, >=20 > I have very strange problem with sessions (it is not directly related=20 > 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. --=20 Victor Yegorov --rJwd6BRFiFCcLxzm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE+t3zA2RKGLEykUDYRAlHHAKCY2MbyAZc2foapAzZf0+bUWv9LYgCffuze vskUfBpjpPvotOA9EEPuNcc= =Iv/g -----END PGP SIGNATURE----- --rJwd6BRFiFCcLxzm--