RE: [PHP] Session troubles

2004-02-04 Thread Larry Brown
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

RE: [PHP] Session troubles

2004-02-04 Thread Ford, Mike [LSS]
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 whethe

Re: [PHP] Session troubles

2002-01-03 Thread Sean LeBlanc
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 ''; > > An

RE: [PHP] Session troubles

2002-01-03 Thread Junior, Ricardo
- From: 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.

RE: [PHP] Session troubles

2002-01-03 Thread Junior, Ricardo
ECTED] 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

RE: [PHP] Session troubles

2002-01-03 Thread Alok K. Dhir
and not false when there's no data. > This was never clear in the documentation (and complaint I > made) but is quite true. Once switching over to using ('') > instead of (false), I no longer had problems. > > Jaime Bozza > > > -Original Message- > F

RE: [PHP] Session troubles

2002-01-03 Thread Jaime Bozza
_ Ricardo J. A. Júnior, Software 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] Su

RE: [PHP] Session troubles

2002-01-03 Thread Junior, Ricardo
Ricardo J. A. Júnior, Software 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: [

RE: [PHP] Session troubles

2002-01-03 Thread Jaime Bozza
using ('') instead of (false), I no longer had 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... th

RE: [PHP] Session troubles

2002-01-03 Thread Junior, Ricardo
icardo J. A. Júnior, Software Engineer Trainee Bowne Global Solutions Phone +55 21 2515 7713 [EMAIL PROTECTED] www.bowneglobal.com.br -Original Message- From: Sean LeBlanc [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 02, 2002 2:20 PM To: [EMAIL PROTECTED] Subject:

RE: [PHP] Session troubles

2002-01-02 Thread Jaime Bozza
aime Bozza -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_

Re: [PHP] Session troubles

2002-01-02 Thread Sean LeBlanc
, I return false when 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

RE: [PHP] Session troubles

2002-01-02 Thread Jaime Bozza
ECTED] 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 sti

Re: [PHP] Session troubles

2002-01-02 Thread Sean LeBlanc
outlined somewhere? > -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, > &g

RE: [PHP] Session troubles

2002-01-02 Thread Jaime Bozza
esday, 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 havin

Re: [PHP] Session troubles

2002-01-01 Thread Sean LeBlanc
this, BTW... > -Original Message- > From: Sean LeBlanc [mailto:[EMAIL PROTECTED]] > 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'

RE: [PHP] Session troubles

2001-12-31 Thread Jaime Bozza
i file has: session.save_handler = files And *NOT*: session.save_handler = user That will make a big difference. Jaime Bozza -Original Message- From: Sean LeBlanc [mailto:[EMAIL PROTECTED]] Sent: Saturday, December 29, 2001 1:21 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Session troubl

Re: [PHP] Session troubles

2001-12-30 Thread Sean LeBlanc
On 12-29 22:27, David Jackson wrote: > Sean -- > > Does you standard (non session) seem to work ok? Such as: > // basic echo of var from form > echo "We've just echoed var from form\n"; > echo "$stuff"; > echo "$more_stuff"; > echo "$still_more_stuff"; > ?> Yes, this works fine. I should have s

Re: [PHP] Session troubles

2001-12-29 Thread David Jackson
Sean -- Does you standard (non session) seem to work ok? Such as: $stuff"; echo "$more_stuff"; echo "$still_more_stuff"; ?> Did you compile Apache and PHP from source? If so could you provide me with the ./configure --options you used? This is sound like a config/compile problem to me. You mig

Re: [PHP] Session troubles

2001-12-29 Thread Sean LeBlanc
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 !! > > Any

Re: [PHP] Session troubles

2001-12-29 Thread David Jackson
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 --- http:/

Re: [PHP] Session troubles

2001-12-29 Thread Sean LeBlanc
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 h

Re: [PHP] Session troubles

2001-12-29 Thread David Jackson
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 han

Re: [PHP] Session troubles

2001-12-29 Thread Sean LeBlanc
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 --- > >

Re: [PHP] Session troubles

2001-12-29 Thread David Jackson
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 --- --- seaninc.php -- > On 12-29 09:59, Miles Tho

Re: [PHP] Session troubles

2001-12-29 Thread Sean LeBlanc
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(); > sess

Re: [PHP] Session troubles

2001-12-29 Thread Miles Thompson
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 conque

Re: [PHP] session troubles

2001-07-05 Thread Justin Farnsworth
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

RE: [PHP] session troubles

2001-07-05 Thread Steve Brett
your session_start() has to be the first thing in the page. no blank lines etc. like right at the top of your page. a blank line will send header info ... Steve > -Original Message- > From: Brad Wright [mailto:[EMAIL PROTECTED]] > Sent: 05 July 2001 16:21 > To: [EMAIL PROTECTED] > Subj