For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > June 2004 > Re: [PHP-DB] [PHP]: session problem









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-DB] [PHP]: session problem
H. J. Wils

2004-06-24, 3:55 pm

i do ($_SESSION['sid']), but the variables remain empty...


From: "Matt Matijevich" <matijevich@alliancetechnologies.net>
To: <double_u1@hotmail.com>, <php-db@lists.php.net>
Subject: Re: [PHP-DB] [PHP]: session problem
Date: Thu, 24 Jun 2004 09:58:15 -0500
MIME-Version: 1.0
Received: from pb1.pair.com ([216.92.131.4]) by mc5-f25.hotmail.com with
Microsoft SMTPSVC(5.0.2195.6824); Thu, 24 Jun 2004 07:58:51 -0700
Received: (qmail 11455 invoked by uid 1010); 24 Jun 2004 14:58:34 -0000
Received: (qmail 11442 invoked by uid 1010); 24 Jun 2004 14:58:34 -0000
X-Message-Info: JGTYoYF78jFwyYeDNPzY/BffcKW489ih
Mailing-List: contact php-db-help@lists.php.net; run by ezmlm
Precedence: bulk
list-help: <mailto:php-db-help@lists.php.net>
list-unsubscribe: <mailto:php-db-unsubscribe@lists.php.net>
list-post: <mailto:php-db@lists.php.net>
Delivered-To: mailing list php-db@lists.php.net
Delivered-To: ezmlm-scan-php-db@lists.php.net
Delivered-To: ezmlm-php-db@lists.php.net
Message-Id: <s0daa5c9.078@NW0101DSM.ALLIANCETECHNOLOGIES.NET>
X-Mailer: Novell GroupWise Internet Agent 6.5.2 Beta
Return-Path: php-db-return-34912-double_u1=hotmail.com@lists.php.net
X-OriginalArrivalTime: 24 Jun 2004 14:58:51.0428 (UTC)
FILETIME=[C2DF1640:01C459FB]

[snip]
But when I ask the value of
a registered session variable on another page, it is empty?!?! Does
anyone
know how this comes? i am using session_start() at every page..
[/snip]

try the $_SESSION array for starage of session variables.

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

________________________________________
_________________________
Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
Daniel Clark

2004-06-24, 3:55 pm

What are you setting $_SESSION['sid'] to?


> i do ($_SESSION['sid']), but the variables remain empty...

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com