Re: [PHP] session_start(), memcache taking too much resources

2011-11-07 Thread Stuart Dallas
On 3 Nov 2011, at 20:22, Ing. Branislav Geržo wrote: I am running high loaded website and I did some profiling, because webservers got high load. PHP Version 5.3.8, running FreeBSD 8.2-STABLE, on lighttpd 1.4.29, running php-fpm on 3 servers xdebug is showing, that calling line

[PHP] session_start(), memcache taking too much resources

2011-11-03 Thread Ing. Branislav Geržo
Hi, I am running high loaded website and I did some profiling, because webservers got high load. PHP Version 5.3.8, running FreeBSD 8.2-STABLE, on lighttpd 1.4.29, running php-fpm on 3 servers xdebug is showing, that calling line session_start() is taking too much time, which I am really

RE: [PHP] php session_start dead lock

2011-06-24 Thread Zaccone, Warren
] On Behalf Of Daniel Brown Sent: Thursday, June 23, 2011 3:42 PM To: Zaccone, Warren Cc: php-general@lists.php.net Subject: Re: [PHP] php session_start dead lock On Thu, Jun 23, 2011 at 15:27, Zaccone, Warren wzacc...@telcordia.com wrote: We recently started experiencing a problem on our server (httpd

[PHP] php session_start dead lock

2011-06-23 Thread Zaccone, Warren
We recently started experiencing a problem on our server (httpd 2.2.19, PHP 5.3.6) where all of the apache child processes hang in PHP code and no longer process requests. I am running Apache as prefork on Solaris 10 with 256 children, and found that within a few minutes all 256 httpd

Re: [PHP] php session_start dead lock

2011-06-23 Thread Daniel Brown
On Thu, Jun 23, 2011 at 15:27, Zaccone, Warren wzacc...@telcordia.com wrote: We recently started experiencing a problem on our server (httpd 2.2.19, PHP 5.3.6) where all of the apache child processes hang in PHP code and no longer process requests.  I  am running Apache as prefork on

[PHP] session_start() may take 5 seconds :(

2011-03-31 Thread Tolas Anon
My web-app sometimes takes just over 5 seconds to execute a single start_session() statement. No other connections are open to the site when i hit the button that makes this happen, the session is just 78kb on a local disk, and it's consistent behavior. So far, it only happens when i request

Re: [PHP] session_start() may take 5 seconds :(

2011-03-31 Thread Negin Nickparsa
session1.php: ?php session_start(); $_SESSION['s1']='sth'; header(location: session2.php?.SID); ? session2.php: ?php session_start(); if(isset($_SESSION['s1'])) echo $_SESSION['s1']; else die(No session!); ?

Re: [PHP] session_start() may take 5 seconds :(

2011-03-31 Thread Tolas Anon
On Thu, Mar 31, 2011 at 8:10 AM, Negin Nickparsa nickpa...@gmail.com wrote: session1.php: ?php session_start(); $_SESSION['s1']='sth'; header(location: session2.php?.SID); ? session2.php: ?php session_start(); if(isset($_SESSION['s1'])) echo $_SESSION['s1']; else die(No session

Re: [PHP] session_start problems with FireFox on Mac

2008-01-14 Thread tedd
At 3:50 PM +0100 1/13/08, Jochem Maas wrote: to avoid this in future never add the closing php bracket to the end of the php file (unless you explicitly want to output something after the code in question - which is almost never the case), it is not required. e.g. - 8 info.php

Re: [PHP] session_start problems with FireFox on Mac

2008-01-13 Thread Jochem Maas
Terry Calie schreef: ... To illustrate my php goes like this: index.php = ?php code code require index2.php code ? index2.php ?php code code code ? whitespace character ... to avoid this in future never add the closing php bracket to the end of the php file (unless you

Re: [PHP] session_start problems with FireFox on Mac

2008-01-13 Thread Europus
Jochem Maas wrote: ? whitespace character ... to avoid this in future never add the closing php bracket to the end of the php file (unless you explicitly want to output something after the code in question - which is almost never the case), it is not required. e.g. - 8 info.php

Re: [PHP] session_start problems with FireFox on Mac

2008-01-13 Thread Jochem Maas
Europus schreef: Jochem Maas wrote: ? whitespace character ... to avoid this in future never add the closing php bracket to the end of the php file (unless you explicitly want to output something after the code in question - which is almost never the case), it is not required. e.g. -

Re: [PHP] session_start problems with FireFox on Mac

2008-01-13 Thread Europus
Jochem Maas wrote: you also mentioned you changed the code when trying to test it on another machine - don't do that, test one thing at a time. I'm not the original poster, that wasn't me. anyway problem solved, preventative knowledge aquired, onto the next hurdle :-) I'm having some

Re: [PHP] session_start problems with FireFox on Mac

2008-01-13 Thread Jochem Maas
Europus schreef: Jochem Maas wrote: you also mentioned you changed the code when trying to test it on another machine - don't do that, test one thing at a time. I'm not the original poster, that wasn't me. anyway problem solved, preventative knowledge aquired, onto the next hurdle :-)

Re: [PHP] session_start problems with FireFox on Mac

2008-01-12 Thread Terry Calie
Hey... thanks for the replies. I installed the headers feature that Richard suggested and found that no headers were output. I started to transfer my php to another site to see if the problem replicated and I wasn't able to recreate the problem. It turns out that I require a file before

Re: [PHP] session_start problems with FireFox on Mac

2008-01-12 Thread Anup Shukla
Terry Calie wrote: Hey... thanks for the replies. I installed the headers feature that Richard suggested and found that no headers were output. I started to transfer my php to another site to see if the problem replicated and I wasn't able to recreate the problem. It turns out that I require

Re: [PHP] session_start problems with FireFox on Mac

2008-01-11 Thread Daniel Brown
On Jan 11, 2008 11:53 AM, Jason Pruim [EMAIL PROTECTED] wrote: With a problem like that, code and a web page are very helpful to track it down. I'm willing to take a look at what I can with my Mac firefox, and see what I can sort out :) I just need more info.. On Jan 11, 2008, at 11:34

Re: [PHP] session_start problems with FireFox on Mac

2008-01-11 Thread Jason Pruim
With a problem like that, code and a web page are very helpful to track it down. I'm willing to take a look at what I can with my Mac firefox, and see what I can sort out :) I just need more info.. On Jan 11, 2008, at 11:34 AM, Terry Calie wrote: Sorry if this is the wrong place to ask

[PHP] session_start problems with FireFox on Mac

2008-01-11 Thread Terry Calie
Sorry if this is the wrong place to ask this question... if so please help me figure out where to ask it. I've asked on FireFox forums and was told it was a PHP problem and to ask the developers of PHP. I have a PHP website that freezes in Firefox on a Mac. Every other browser/operating

Re: [PHP] session_start problems with FireFox on Mac

2008-01-11 Thread Richard Lynch
Install Live HTTP Headers and see what headers are being sent. Then search for those headers and FireFox Mac issues online. On Fri, January 11, 2008 10:34 am, Terry Calie wrote: Sorry if this is the wrong place to ask this question... if so please help me figure out where to ask it. I've

[PHP] session_start is slow occasionally

2007-10-04 Thread al jo
Hi i have a site that is relatively high loaded (~20 reloads/sec) and i am trying to optimize it. So i have started timing sections of the php scripts to find out which is the slowest so i optimize it first. I write the times to a database( timings are done on the live server). So now when

Re: [PHP] session_start is slow occasionally

2007-10-04 Thread Chris
al jo wrote: Hi i have a site that is relatively high loaded (~20 reloads/sec) and i am trying to optimize it. So i have started timing sections of the php scripts to find out which is the slowest so i optimize it first. I write the times to a database( timings are done on the live

Re: [PHP] session_start(): Cannot send session cache limiter...

2007-08-05 Thread Nisse Engström
On Fri, 20 Jul 2007 16:39:51 -0500 (CDT), Richard Lynch wrote: Did you save it as UTF-8 with that byte-order-mark (BOM) thingie? Does UTF-8 even HAVE a BOM? http://www.unicode.org/Public/UNIDATA/Index.txt: byte order markFEFF U+FEFF is ef bb bf in UTF-8. /Nisse -- PHP

Re: [PHP] session_start(): Cannot send session cache limiter...

2007-07-21 Thread Wesley Acheson
From: Richard Lynch [EMAIL PROTECTED] To: Vanessa Vega [EMAIL PROTECTED] Date: Fri, 20 Jul 2007 16:39:51 -0500 (CDT) Subject: Re: [PHP] session_start(): Cannot send session cache limiter... On Fri, July 20, 2007 3:17 am, Paul Scott wrote: On Fri, 2007-07-20 at 16:01 +0800, Vanessa Vega wrote

[PHP] session_start(): Cannot send session cache limiter...

2007-07-20 Thread Vanessa Vega
Hello to all! I encountered this error when the site is uploaded on the server: session_start(): Cannot send session cache limiter - headers already sent I already put session_start() on topmost part of the file..but i saved the file as utf-8..and that seems to be the problem..can anyone

Re: [PHP] session_start(): Cannot send session cache limiter...

2007-07-20 Thread Paul Scott
On Fri, 2007-07-20 at 16:01 +0800, Vanessa Vega wrote: I already put session_start() on topmost part of the file..but i saved the file as utf-8..and that seems to be the problem..can anyone share their knowledge on this? Set your error_reporting to at least E_ALL and check that there are

Re: [PHP] session_start(): Cannot send session cache limiter...

2007-07-20 Thread Richard Lynch
On Fri, July 20, 2007 3:17 am, Paul Scott wrote: On Fri, 2007-07-20 at 16:01 +0800, Vanessa Vega wrote: I already put session_start() on topmost part of the file..but i saved the file as utf-8..and that seems to be the problem..can anyone share their knowledge on this? Set your

[PHP] Session_Start() error

2007-03-05 Thread Helder Lopes
*hi people, Hi have this error in the session cookie, how to solve this??? Warning*: session_start() [function.session-starthttp://localhost/function.session-start]: Cannot send session cache limiter - headers already sent (output started at D:\PHP\xampp\htdocs\index.php:10) in

Re: [PHP] Session_Start() error

2007-03-05 Thread Rabih Tayyem
Hi, just put session_start() (first line) the first thing in your php file and this should solve the problem. Regards, Rabih On 3/5/07, Helder Lopes [EMAIL PROTECTED] wrote: *hi people, Hi have this error in the session cookie, how to solve this??? Warning*: session_start()

Re: [PHP] Session_Start() error

2007-03-05 Thread datsclark
Also make sure you don't have empty lines before the ?php or ? tags Helder Lopes [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] *hi people, Hi have this error in the session cookie, how to solve this??? Warning*: session_start()

Re: [PHP] Session_Start() error

2007-03-05 Thread Jochem Maas
Helder Lopes wrote: *hi people, Hi have this error in the session cookie, how to solve this??? did you read the error message? did you look up the lines specified in the error message? did you read the manual pages related to sessions and session functions? headers have already been sent

Re: [PHP] R: [PHP] session_start() and fopen

2006-09-15 Thread Richard Lynch
On Thu, September 14, 2006 1:17 pm, Fabri wrote: Hi Christopher: this is just a simplified code, I use it to generate some xml file, no loop is present. Try it as it is: you will find that two files will be generated while it should be only one. If you remove 'session_start()' then only

[PHP] R: [PHP] session_start() and fopen

2006-09-14 Thread Fabri
-Messaggio originale- Da: Christopher Weldon [mailto:[EMAIL PROTECTED] Inviato: mercoledì 13 settembre 2006 22.28 A: Fabri Cc: php-general@lists.php.net Oggetto: Re: [PHP] session_start() and fopen -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fabri wrote: Hello, would you please help me

Re: [PHP] R: [PHP] session_start() and fopen

2006-09-14 Thread Christopher Weldon
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fabri wrote: Hi Christopher: this is just a simplified code, I use it to generate some xml file, no loop is present. Try it as it is: you will find that two files will be generated while it should be only one. If you remove 'session_start()'

[PHP] R: [PHP] R: [PHP] session_start() and fopen

2006-09-14 Thread Fabri
A: Fabri Cc: php-general@lists.php.net Oggetto: Re: [PHP] R: [PHP] session_start() and fopen -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fabri wrote: Hi Christopher: this is just a simplified code, I use it to generate some xml file, no loop is present. Try it as it is: you will find

[PHP] session_start() and fopen

2006-09-13 Thread Fabri
Hello, would you please help me on this issue that is making me crazy? I start a session with session_start() and I need to write a file, the file is written twice! If I remove session_start the code works obviously fine. I used the date as name of file so I can see the problem, otherwise

Re: [PHP] session_start() and fopen

2006-09-13 Thread Curt Zirzow
On 9/13/06, Fabri [EMAIL PROTECTED] wrote: Hello, would you please help me on this issue that is making me crazy? I'll try I start a session with session_start() and I need to write a file, the file is written twice! If I remove session_start the code works obviously fine. This has never

Re: [PHP] session_start() and fopen

2006-09-13 Thread Christopher Weldon
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Fabri wrote: Hello, would you please help me on this issue that is making me crazy? I start a session with session_start() and I need to write a file, the file is written twice! If I remove session_start the code works obviously fine.

Re: [PHP] session_start/session_write_close creates multiple sessioncookieheaders. How to fix this.

2006-07-20 Thread Mathijs
Chris wrote: Mathijs wrote: Chris wrote: Mathijs wrote: Hello again, I Use session_write_close() so the page loads quicker because i use session on multiple place. This because session has protection for race conditions. Now it works very well and i don't have any problems at all. I only

Re: [PHP] session_start/session_write_close creates multiple sessioncookie headers. How to fix this.

2006-07-16 Thread Chris
Mathijs wrote: Chris wrote: Mathijs wrote: Hello again, I Use session_write_close() so the page loads quicker because i use session on multiple place. This because session has protection for race conditions. Now it works very well and i don't have any problems at all. I only see that there

Re: [PHP] session_start/session_write_close creates multiple sessioncookie headers. How to fix this.

2006-07-14 Thread Mathijs
Chris wrote: Mathijs wrote: Hello again, I Use session_write_close() so the page loads quicker because i use session on multiple place. This because session has protection for race conditions. Now it works very well and i don't have any problems at all. I only see that there are multiple

[PHP] session_start/session_write_close creates multiple session cookie headers. How to fix this.

2006-07-13 Thread Mathijs
Hello again, I Use session_write_close() so the page loads quicker because i use session on multiple place. This because session has protection for race conditions. Now it works very well and i don't have any problems at all. I only see that there are multiple session cookie headers set. I

Re: [PHP] session_start/session_write_close creates multiple session cookie headers. How to fix this.

2006-07-13 Thread Chris
Mathijs wrote: Hello again, I Use session_write_close() so the page loads quicker because i use session on multiple place. This because session has protection for race conditions. Now it works very well and i don't have any problems at all. I only see that there are multiple session cookie

[PHP] session_start

2006-04-06 Thread Diana Castillo
If I have nothing in $session_id, why do I get this message when I do a session_start() ? Warning: session_start(): The session id contains invalid characters, valid characters are only a-z, A-Z and 0-9 at C:\Inetpub\wwwroot\usr\local\global\php\online\InterfaceManager.php line 149. --

Re: [PHP] session_start

2006-04-06 Thread Anthony Ettinger
because you have nothing in $session_id. On 4/6/06, Diana Castillo [EMAIL PROTECTED] wrote: If I have nothing in $session_id, why do I get this message when I do a session_start() ? Warning: session_start(): The session id contains invalid characters, valid characters are only a-z, A-Z and

[PHP] session_start(), Pragma and Cache-control headers

2005-08-22 Thread Kim Steinhaug \(php list\)
Hello, I'm working on a downbload script which serves M3U files (Winamp playlist files) through a PHP file like this : somepath/download.m3u.php?id=2 Then in the PHP script I generate the M3U file, and serve up the headers I want. Swell so far, but a little problem appears. The downloads are

Re: [PHP] session_start(), Pragma and Cache-control headers

2005-08-22 Thread Kim Steinhaug \(php list\)
- - - - - - - - - www.steinhaug.com - Original Message - From: Kim Steinhaug (php list) [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Monday, August 22, 2005 7:01 PM Subject: [PHP] session_start(), Pragma and Cache-control headers Hello, I'm working on a downbload script which serves M3U

RE: [PHP] @session_start generates a new session_id

2004-10-27 Thread Lizet Peña de Sola
I'll try that, thanks a lot. -Original Message- From: Reinhart Viane [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 26, 2004 12:49 PM To: 'Lizet Peña de Sola'; [EMAIL PROTECTED] Subject: RE: [PHP] @session_start generates a new session_id Instead of: ? $_SESSION['validlogin

RE: [PHP] @session_start generates a new session_id

2004-10-27 Thread Lizet Peña de Sola
? Tia, Lizet -Original Message- From: Reinhart Viane [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 26, 2004 12:49 PM To: 'Lizet Peña de Sola'; [EMAIL PROTECTED] Subject: RE: [PHP] @session_start generates a new session_id Instead of: ? $_SESSION['validlogin']=; $_SESSION

RE: [PHP] @session_start generates a new session_id

2004-10-27 Thread Lizet Peña de Sola
session_id($username); session_start(); Solved the problem... Thank you all for the replies... -Original Message- From: Lizet Peña de Sola [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 27, 2004 3:55 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: [PHP] @session_start

RE: [PHP] @session_start generates a new session_id

2004-10-26 Thread Lizet Peña de Sola
not overriden. Any idea? Thanks a lot in advance. Lizet -Original Message- From: Greg Donald [mailto:[EMAIL PROTECTED] Sent: Monday, October 25, 2004 6:18 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] @session_start generates a new session_id On Mon, 25 Oct 2004 15:59:18 -0400, Lizet Peña de Sola

RE: [PHP] @session_start generates a new session_id

2004-10-26 Thread Reinhart Viane
Instead of: ? $_SESSION['validlogin']=; $_SESSION['username']=; $_SESSION['password']=; unset($_SESSION['validlogin']); unset($_SESSION['username']); unset($_SESSION['password']); session_unset(); print(username=.$_SESSION['username']); print(password=.$_SESSION['password']);

Re: [PHP] @session_start generates a new session_id

2004-10-25 Thread Mark-Walter
Hi Sadeq, Check your PHP config file. You may enable auto session start. I think this is the reasone of problem. sorry for the delay and indeed your suggestion solves now my problem. Thank's a lot :-) -- Best Regards, Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP] @session_start generates a new session_id

2004-10-25 Thread Lizet Peña de Sola
: Re: [PHP] @session_start generates a new session_id Hi, Check your PHP config file. You may enable auto session start. I think this is the reasone of problem. Sadeq On Tue, 19 Oct 2004 18:21:29 +0200, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi Matt, @session_start(); session_name

Re: [PHP] @session_start generates a new session_id

2004-10-25 Thread Greg Donald
On Mon, 25 Oct 2004 15:59:18 -0400, Lizet Peña de Sola [EMAIL PROTECTED] wrote: How can I set session_auto_start On, I have a similar problem and I think it's because my web hosting has that feature off. .htaccess php_flag session.auto_start on -- Greg Donald Zend Certified Engineer

[PHP] @session_start generates a new session_id

2004-10-19 Thread Mark-Walter
Hi, I made an update to Apache/1.3.31 (Unix) PHP/4.3.9 and before this everythings works fine. The problem is that a following page generates a new session stored under the session.save_path and the stored variable e.g. $_SESSION['SESS_CUS'] is not valid anymore due the SID entry. On both pages

Re: [PHP] @session_start generates a new session_id

2004-10-19 Thread Matt M.
@session_start(); session_name(userauth); $_SESSION['SESS_CUS'] = $user_id; I am not 100% sure what the problem is, but if you are trying to change the session name to userauth, I think you need to do that before session_start http://us2.php.net/session_name -- PHP General Mailing List

Re: [PHP] @session_start generates a new session_id

2004-10-19 Thread Mark-Walter
Hi Matt, @session_start(); session_name(userauth); $_SESSION['SESS_CUS'] = $user_id; I am not 100% sure what the problem is, but if you are trying to change the session name to userauth, I think you need to do that before session_start session_name() works ok so far. For example: ?

Re: [PHP] @session_start generates a new session_id

2004-10-19 Thread Sadeq Naqashzade
Hi, Check your PHP config file. You may enable auto session start. I think this is the reasone of problem. Sadeq On Tue, 19 Oct 2004 18:21:29 +0200, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi Matt, @session_start(); session_name(userauth); $_SESSION['SESS_CUS'] = $user_id; I

[PHP] Session_Start Problem (Fatal Error)

2004-07-09 Thread webmaster
I'm using Mambo Open Source CMS to run a site I'm building, and seem to have a problem logging into the Administration Tool. It comes up with: Fatal error: session_start(): Failed to initialize storage module. in /home/hetbweb/public_html/administrator/index.php on line 64 I've looked at

Re: [PHP] session_start() warnings

2004-06-14 Thread franciccio
Always call the function on the first line of your page. Bye Paoage [EMAIL PROTECTED] ha scritto nel messaggio news:[EMAIL PROTECTED] Larry E . Ullman wrote: When I use session_start function, I receive the following warning messages: Warning: session_start(): Cannot send session

[PHP] session_start() warnings

2004-06-12 Thread PaoAge
Hi, all: When I use session_start function, I receive the following warning messages: Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/w4t3c101/public_html/ListClientInfo.php:2) in /home/w4t3c101/public_html/SessionControl.php on line 9

Re: [PHP] session_start() warnings

2004-06-12 Thread Larry E . Ullman
When I use session_start function, I receive the following warning messages: Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/w4t3c101/public_html/ListClientInfo.php:2) in /home/w4t3c101/public_html/SessionControl.php on line 9 Warning:

Re: [PHP] session_start() warnings

2004-06-12 Thread PaoAge
Larry E . Ullman wrote: When I use session_start function, I receive the following warning messages: Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/w4t3c101/public_html/ListClientInfo.php:2) in

[PHP] session_start in php 4.3.6

2004-05-21 Thread Paul Godard
Hi All my web sites suddenly stopped working after my ISP installed the newer php 4.3.6 released. The problem is when calling the session_start() function. It seems that the warning message saying that the session has already started and that the function will be ignored makes the php script

Re: [PHP] session_start in php 4.3.6

2004-05-21 Thread Michael R. Wayne
On Fri, May 21, 2004 at 10:01:56PM +0200, Paul Godard wrote: Hi All my web sites suddenly stopped working after my ISP installed the newer php 4.3.6 released. The problem is when calling the session_start() function. It seems that the warning message saying that the session has already

Re: [PHP] session_start in php 4.3.6

2004-05-21 Thread Bob Lockie
On 05/21/04 16:08 Michael R. Wayne spoke: On Fri, May 21, 2004 at 10:01:56PM +0200, Paul Godard wrote: Hi All my web sites suddenly stopped working after my ISP installed the newer php 4.3.6 released. The problem is when calling the session_start() function. It seems that the warning message

Re: [PHP] session_start in php 4.3.6

2004-05-21 Thread Curt Zirzow
* Thus wrote Bob Lockie ([EMAIL PROTECTED]): On 05/21/04 16:08 Michael R. Wayne spoke: On Fri, May 21, 2004 at 10:01:56PM +0200, Paul Godard wrote: Hi All my web sites suddenly stopped working after my ISP installed the newer php 4.3.6 released. The problem is when calling the

[PHP] @session_start()?

2004-05-01 Thread Brandon Goodin
I noticed this notation in one of the PEAR packages @session_start()? What is the purpose of the '@' sign? Thanks Brandon

[PHP] session_start

2004-02-24 Thread Urb LeJeune
I would appreciate some help to save my few remaining hairs. I have an administrative program starting with session_start() It starts by asking for userid and password. It's been working for over a year with no problems. Within the last couple of day something strange has been

Re: [PHP] session_start() make netscape 4.7 reload page.

2003-12-14 Thread BAO RuiXian
Jonathan Zhang wrote: test.php -- ? session_start(); ? form input type=text name=test /form For Win2kpro+netscape 4.7,all form data you enter in this page will lost when resize the browser's window size, ns4.7 have reload this page when resize the window. But if you remove the session_start()

Re: [PHP] session_start() make netscape 4.7 reload page.

2003-12-14 Thread Marek Kilimajer
Jonathan Zhang wrote: test.php -- ? session_start(); ? form input type=text name=test /form For Win2kpro+netscape 4.7,all form data you enter in this page will lost when resize the browser's window size, ns4.7 have reload this page when resize the window. But if you remove the session_start() from

Re: [PHP] session_start() make netscape 4.7 reload page.

2003-12-14 Thread Jonathan Zhang
Marek, Thank you very much. Marek Kilimajer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Jonathan Zhang wrote: test.php -- ? session_start(); ? form input type=text name=test /form For Win2kpro+netscape 4.7,all form data you enter in this page will lost when

[PHP] session_start() make netscape 4.7 reload page.

2003-12-13 Thread Jonathan Zhang
test.php -- ? session_start(); ? form input type=text name=test /form For Win2kpro+netscape 4.7,all form data you enter in this page will lost when resize the browser's window size, ns4.7 have reload this page when resize the window. But if you remove the session_start() from this page, the issue

[PHP] Session_start() problem

2003-10-01 Thread Jeff McKeon
Hey all, I'm working out of a book teaching myself PHP4 here and I've got this code from a login web page... [begin code] session_start(); if(!isset($userid)) { login_form(); exit; } else { session_regisister(userid, userpassword);

Re: [PHP] Session_start() problem

2003-10-01 Thread CPT John W. Holmes
From: Jeff McKeon [EMAIL PROTECTED] [snip] where do I set the default location for session data? session.save_path in php.ini ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Session_start() problem

2003-10-01 Thread Curt Zirzow
* Thus wrote Jeff McKeon ([EMAIL PROTECTED]): Not related to your problem but: session_regisister(userid, userpassword); spelling ~~~^^ Curt -- I used to think I was indecisive, but now I'm not so sure. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] session_start() || shell access problem......

2003-09-21 Thread Marek Kilimajer
Sessions don't work on command line and that is how you run your script - from command line. CF High wrote: Hey Robert. Indeed, hard to find the problem. I don't believe it's a whitespace issue, or even a Headers sent issue, despite the fact that I'm receiving that error. Check it out:

Re: [PHP] session_start() || shell access problem......

2003-09-21 Thread CF High
H, Well, is there a way to pass params to file_to_be_executed in command line? For example: ? $my_param = 'my_include_path'; $text = `usr/local/bin/php /path/to/my/php/page.php`; ? Somehow I need $my_param to be passed to page.php (the file to be processed in command line). Any

Re: [PHP] session_start() || shell access problem......

2003-09-21 Thread CF High
Thank the heavens above Actually, thank Ben, a poster from php.net manual. Looks like environment variables are not passed to file when it is executed from the command line. A workaround is: $inc_path = $_SERVER['DOCUMENT_ROOT'] . '/'; $remaddr = getenv(DOCUMENT_ROOT);

Re: [PHP] session_start() || shell access problem......

2003-09-21 Thread Rasmus Lerdorf
On Sun, 21 Sep 2003, CF High wrote: Well, is there a way to pass params to file_to_be_executed in command line? For example: ? $my_param = 'my_include_path'; $text = `usr/local/bin/php /path/to/my/php/page.php`; ? Somehow I need $my_param to be passed to page.php (the file to

Re[2]: [PHP] session_start() || shell access problem......

2003-09-21 Thread Tom Rogers
Hi, Monday, September 22, 2003, 2:13:57 AM, you wrote: CH H, CH Well, is there a way to pass params to file_to_be_executed in command line? CH For example: CH ? CH $my_param = 'my_include_path'; CH $text = `usr/local/bin/php /path/to/my/php/page.php`; ? CH Somehow I need $my_param

Re: Re[2]: [PHP] session_start() || shell access problem......

2003-09-21 Thread CF High
Finally! Thanks Tom Rasmus for pointing me in the right direction. God, two days of bleary eyed searching -- enough is enough. Thank you guys for helping out a newbie. --Noah Tom Rogers [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, Monday, September 22, 2003, 2:13:57

[PHP] session_start() || shell access problem......

2003-09-20 Thread CF High
Hey all. I'm running a script from the command-line php interpreter as follows: (thanks to D. Souza for lead) $text = `usr/local/bin/php /path/to/my/php/page.php`; within the read file I want to enable sessions, so I session_start() at the top of the page: ? session_start(); ? ? code to

Re: [PHP] session_start() || shell access problem......

2003-09-20 Thread Robert Cummings
On Sat, 2003-09-20 at 15:46, CF High wrote: Hey all. I'm running a script from the command-line php interpreter as follows: (thanks to D. Souza for lead) $text = `usr/local/bin/php /path/to/my/php/page.php`; within the read file I want to enable sessions, so I session_start() at the

Re: [PHP] session_start() || shell access problem......

2003-09-20 Thread CF High
Hey Robert. Indeed, hard to find the problem. I don't believe it's a whitespace issue, or even a Headers sent issue, despite the fact that I'm receiving that error. Check it out: test.php contains just one line: ?$text = `usr/local/bin/php /path/to/my/php/test1.php`;? test1.php, the file to

Re: [PHP] Session_start() corrupt HTML output with IE

2003-09-04 Thread Christophe Chisogne
hecchan wrote: Using IE 6 (XP) i can't see the source generated for PHP even the page works properly (It doesn't happend with Mozilla or Opera). The View source in IE 5 and 6 is buggy : it doesnt work as soon as there are too many files in the Temp Internetfiles folder. sic. Solution is of course

Re: [PHP] Session_start() corrupt HTML output with IE

2003-09-04 Thread Viraj Kalinga Abayarathna
Thank you Curt for the explanation. Viraj Curt Zirzow wrote: * Thus wrote Viraj Kalinga Abayarathna ([EMAIL PROTECTED]): header(Cache-control: private); p.s. and also if there is any one wo knows what exactly this header line means, please post a brief decription. thanks.

[PHP] Session_start() corrupt HTML output with IE

2003-09-03 Thread hecchan
Hi, Using IE 6 (XP) i can't see the source generated for PHP even the page works properly (It doesn't happend with Mozilla or Opera). If i comment out the line: session_start() This behaviour stops. Any idea what's going on? Thanks hecchan -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Session_start() corrupt HTML output with IE

2003-09-03 Thread Viraj Kalinga Abayarathna
Hi hecchan, I don't have a crear idea on what your problem is, but i have read an article on phpfreak.com, it says to work the sessioned PHP scripts correctly with IE6 you have to insert.. header(Cache-control: private); immediatly after starting the session. try this.

Re: [PHP] Session_start() corrupt HTML output with IE

2003-09-03 Thread Curt Zirzow
* Thus wrote Viraj Kalinga Abayarathna ([EMAIL PROTECTED]): header(Cache-control: private); p.s. and also if there is any one wo knows what exactly this header line means, please post a brief decription. thanks. private means that only the intended person that is getting this file

Re: [PHP] Session_start() corrupt HTML output with IE

2003-09-03 Thread Curt Zirzow
* Thus wrote hecchan ([EMAIL PROTECTED]): Hi, Using IE 6 (XP) i can't see the source generated for PHP even the page works properly (It doesn't happend with Mozilla or Opera). If i comment out the line: session_start() This behaviour stops. Any idea what's going on? What is your

[PHP] session_start() : read failed: Value too large for defined datatype (75) ...

2003-08-28 Thread Richard NAGY
Hello, I'm using an apache server 1.3.28 on RedHat GNU/Linux 6.2 with php 4.3.1. Before, I was using apache 1.3.14 with php 4.0.6. Since I have upgraded, I have problems with session_start. I have tried to set register_globals either to on or to off but it has no effect on this problem. Example

[PHP] session_start questions.

2003-06-06 Thread Daniel J. Rychlik
Questions, Questions, Questions. Where do I start in understanding how this function works. Ive read the document multiple times, and I am having a bit of trouble figuring out how this function works. I know that you can take session data and hold it somewhere for a user and use that

RE: [PHP] session_start

2003-02-26 Thread Mr Percival
[snip] Not to be nosey or anything but usually session data will always be saved or not. How come one would want to check to see if is was or not. [snip] Maybe I am on the wrong track but the other day I got a

Re: [PHP] session_start

2003-02-26 Thread Justin French
Yeah, get a new host :) J on 27/02/03 11:36 AM, Mr Percival ([EMAIL PROTECTED]) wrote: [snip] Not to be nosey or anything but usually session data will always be saved or not. How come one would want to check to see if is was or not.

RE: [PHP] session_start

2003-02-26 Thread Ernest E Vogelsinger
At 01:36 27.02.2003, Mr Percival said: [snip] What I was hoping to do was to be able to give a error message if the server was having this problem, but in order to do that I was needing a way of knowing if it was because the session_start failed or users

RE: [PHP] session_start

2003-02-26 Thread John W. Holmes
At 01:36 27.02.2003, Mr Percival said: [snip] What I was hoping to do was to be able to give a error message if the server was having this problem, but in order to do that I was needing a way of knowing if it was because the session_start failed or

Re: [PHP] session_start

2003-02-24 Thread Ernest E Vogelsinger
At 05:52 24.02.2003, Mr Percival said: [snip] According to the PHP manual session_start always returns true. Ther are times (like when there is a disk full error on the server) that the sesison_start will fail because its unable to write the session tmp

Re: [PHP] session_start

2003-02-24 Thread Mr Percival
So how do I check if the session write failed? I thought perhaps if(session_id() == ){ echo error; } but if all session_start does is basically assign a session ID then session_id will never be empty even when the write fails. Thanks! :) -- PHP General Mailing List

  1   2   >