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 whether it

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

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

RE: [PHP] Session troubles

2002-01-03 Thread Jaime Bozza
- 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

RE: [PHP] Session troubles

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

RE: [PHP] Session troubles

2002-01-03 Thread Jaime Bozza
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

RE: [PHP] Session troubles

2002-01-03 Thread Alok K. Dhir
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

RE: [PHP] Session troubles

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

RE: [PHP] Session troubles

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

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 ''; And things

RE: [PHP] Session troubles

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

Re: [PHP] Session troubles

2002-01-02 Thread Sean LeBlanc
? -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

RE: [PHP] Session troubles

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

Re: [PHP] Session troubles

2002-01-02 Thread Sean LeBlanc
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

RE: [PHP] Session troubles

2002-01-02 Thread Jaime 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_read function

Re: [PHP] Session troubles

2002-01-01 Thread Sean LeBlanc
]] 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

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: ?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

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 conquer

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();

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 --- ?php include(seaninc.php); ? --- seaninc.php --

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 --- ?php

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 handle

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 here's

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 --- ?xml

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 !! Anywhy give

Re: [PHP] Session troubles

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

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 ?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:

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 sure