[PHP] Configuration problems concerning sessions.

2002-07-03 Thread Mannequin*

Hi all. I'm having problems using sessions. I've been able to narrow
it down to a configuration problem, but I have no idea what to look
for in php.ini or whatever.

Anyway, let me explain a bit more. For some odd reason php on my local
machine will not pass any variables when you either reload the page or
when you try and pass the $PHPSESSID to another page. For example,
I've used a test script that is supposed to work like a counter.

You have been here $count times.");
?>

Okay, so when you reload this script it's supposed to increase $count
by one. But it doesn't. No matter how many times I reload it stays at
1.

I'm using GNU Debian Linux Unstable (PPC platform) with Apache 1.3.26-1,
PHP 4.2.1. I don't know how much this has to do with this, but I do
have track-vars enabled.

Thanks for any light you can shed on this.

-Mannequin.

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




[PHP] Re: Configuration problems concerning sessions.

2002-07-05 Thread Mannequin*

"Richard Lynch" <[EMAIL PROTECTED]> writes:

> >that's connected to the web, and it works. I went out and got the
> >php.ini that my user uses on that server and checked it with my local
> >copy. The only difference between the two were the lifetimes of
> >cookies, etc.
> 
> Details, please. :-)
> 
> >I've also tried passing the $PHPSESSID on to another page, and it
> >never 'remembers' the variables that I've declared. But when I upload
> >it to the server, it works.
> >
> >Is this the default configuration under Debian? My brother and his
> >wife also use Debian, and I asked them to check the script, and it
> >doesn't work on their machines, either. Could it be something with
> >apache?
> 
> Extremely unlikely...
> 
> I mean, *SOOO* many web-sites would break if Cookies didn't work...
> 
> If there *IS* a Debian Cookie issue, you'll find it much quicker on a Debian
> mailing list than here on PHP, though.

Actually, I've found the problem on a Debian mailing list. After all
of this, I found out that under Debian with the PowerPC architecture
Sessions do not work.

Thanks for all of your help, though.

-Mannequin*

PS. Sorry, I sent this by accident to Richard's email address.

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