On 03 February 2004 21:20, DL contributed these pearls of wisdom:
Hi all,
I am using PHP v4.12, and here is the scenario.
Which OS are you on? I seem to remember that a bug in 4.1.2 meant that sessions were
write only on one particular group of OS -- but I can no longer remember whether it
I know I may be displaying severe ignorance, but I have to ask... What do
you mean by this page also uses paging? What is paging?
Larry
-Original Message-
From: DL [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 03, 2004 4:20 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Session troubles
:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 2:20 PM
To: [EMAIL PROTECTED]
Subject:Re: [PHP] Session troubles
On 01-02 07:45, Jaime Bozza wrote:
I agree. Perhaps make a feature request that disallows session starting
if save_handler=user and you haven't defined a session
-
From: Junior, Ricardo [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 8:52 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Session troubles
Hi Sean !
I had the same problem... this can be resolved using the function
session_write_close() at the end of each script you use sessions
Trainee
Bowne Global Solutions
Phone +55 21 2515 7713
[EMAIL PROTECTED]
www.bowneglobal.com.br
-Original Message-
From: Jaime Bozza [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 11:09 AM
To: [EMAIL PROTECTED]
Subject:RE: [PHP] Session troubles
Ricardo
Engineer Trainee
Bowne Global Solutions
Phone +55 21 2515 7713
[EMAIL PROTECTED]
www.bowneglobal.com.br
-Original Message-
From: Jaime Bozza [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 11:09 AM
To: [EMAIL PROTECTED]
Subject:RE: [PHP] Session troubles
problems.
Jaime Bozza
-Original Message-
From: Junior, Ricardo [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 8:52 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Session troubles
Hi Sean !
I had the same problem... this can be resolved using the
function
]
www.bowneglobal.com.br
-Original Message-
From: Jaime Bozza [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 11:38 AM
To: [EMAIL PROTECTED]
Subject:RE: [PHP] Session troubles
Hmmm... So, there are yet more problems with the session functions. :)
Are you using
: Alok K. Dhir [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 03, 2002 12:56 PM
To: 'Jaime Bozza'; [EMAIL PROTECTED]
Subject:RE: [PHP] Session troubles
FYI - I can confirm Jaime's assertion. I too had the exact same issue
with the exact same fix.
-Original Message-
From
On 01-02 16:06, Jaime Bozza wrote:
Returning false is invalid for the session read function, and has caused
*MANY* issues with PHP and Sessions. (Check the archives as well as the
bugs database. I have a couple in there myself)
Change:
return false;
To:
return '';
And things
, January 01, 2002 8:32 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Session troubles
On 12-31 09:23, Jaime Bozza wrote:
Sean,
From your php error_log, it's saying the following:
Failed to write session data (user)
which sounds like it's having problems writing to the user-defined
?
-Original Message-
From: Sean LeBlanc [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 01, 2002 8:32 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Session troubles
On 12-31 09:23, Jaime Bozza wrote:
Sean,
From your php error_log, it's saying the following:
Failed
]
Subject: Re: [PHP] Session troubles
On 01-02 07:45, Jaime Bozza wrote:
I agree. Perhaps make a feature request that disallows session
starting
if save_handler=user and you haven't defined a session handler?
Then
it could spit out a more correct error message.
Blast. I am still unable to get my own
no value is found.
Jaime Bozza
-Original Message-
From: Sean LeBlanc [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 11:20 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Session troubles
On 01-02 07:45, Jaime Bozza wrote:
I agree. Perhaps make a feature
-Original Message-
From: Sean LeBlanc [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 02, 2002 4:02 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Session troubles
On 01-02 14:31, Jaime Bozza wrote:
What do you have for the return values for your session_read function
]]
Sent: Saturday, December 29, 2001 1:21 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Session troubles
On 12-29 12:56, David Jackson wrote:
Sean --
Don't know if this help but here's what I just worked for me. What
ver. of PHP are you using? It seem to me that 3.x.x needs
PHPLIB: http
On 12-29 22:27, David Jackson wrote:
Sean --
Does you standard (non session) seem to work ok? Such as:
?php
// basic echo of var from form
echo We've just echoed var from form\n;
echo p$stuff/p;
echo h2$more_stuff/h2;
echo h3$still_more_stuff/h3;
?
Yes, this works fine. I should have
Sean,
What's going on in incl.php. Are you issuing a session_start()?
What if it's rearranged like so, as I understand you have to register the session
variable
before using it.
include(incl.php);
session_start();
session_register(mine);
$mine++;
echo $mine;
There's the divide and conquer
On 12-29 09:59, Miles Thompson wrote:
Sean,
What's going on in incl.php. Are you issuing a session_start()?
No, I was not.
What if it's rearranged like so, as I understand you have to register the session
variable
before using it.
include(incl.php);
session_start();
Sean --
Don't know if this help but here's what I just worked for me.
What ver. of PHP are you using? It seem to me that 3.x.x needs
PHPLIB: http://sourceforge.net/projects/phplib
to handle sessions? -- David Jackson
--- sean.php ---
?php include(seaninc.php); ?
--- seaninc.php --
On 12-29 12:56, David Jackson wrote:
Sean --
Don't know if this help but here's what I just worked for me.
What ver. of PHP are you using? It seem to me that 3.x.x needs
PHPLIB: http://sourceforge.net/projects/phplib
to handle sessions? -- David Jackson
--- sean.php ---
?php
Sean --
Do you get the same errors, with Netscape 4.x?
On 12-29 12:56, David Jackson wrote:
Sean --
Don't know if this help but here's what I just worked for me.
What ver. of PHP are you using? It seem to me that 3.x.x needs
PHPLIB: http://sourceforge.net/projects/phplib
to handle
On 12-29 15:10, David Jackson wrote:
Sean --
Do you get the same errors, with Netscape 4.x?
Yep. The very same. I've tried Galeon, Mozilla, Netscape 4.x, and Konqueror.
They all result in the same error.
On 12-29 12:56, David Jackson wrote:
Sean --
Don't know if this help but here's
Sean --
Give the attached scripts a shot, a post the results.
Note: Xitami(server+WinMe) + IE5.5 or Mozilla 9.7 works
fine but with Netscape-4.9 it returns var names? But
when served from Unix/Linux and Apache all 3 work as expected !!
Anywhy give them shot. -- David
--- form.html ---
?xml
On 12-29 16:46, David Jackson wrote:
Sean --
Give the attached scripts a shot, a post the results.
Note: Xitami(server+WinMe) + IE5.5 or Mozilla 9.7 works
fine but with Netscape-4.9 it returns var names? But
when served from Unix/Linux and Apache all 3 work as expected !!
Anywhy give
Sean --
Does you standard (non session) seem to work ok? Such as:
?php
// basic echo of var from form
echo We've just echoed var from form\n;
echo p$stuff/p;
echo h2$more_stuff/h2;
echo h3$still_more_stuff/h3;
?
Did you compile Apache and PHP from source? If so
could you provide me with the
your session_start() has to be the first thing in the page. no blank lines
etc.
like
?php
session_start();
include(db.inc);
include(classes/user-class.inc);
session_register(user);
?
right at the top of your page. a blank line will send header info ...
Steve
-Original Message-
From:
You must have some white space going out somewhere before your
code/HTML starts, that you are unaware of. If you can't find
it, you can always buffer up your output with ob_start() and
put it out later...
---
Brad Wright wrote:
Hi all,
Im new to this mailing list so im not sure
28 matches
Mail list logo