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
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
] 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
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
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
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
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!);
?
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
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
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
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
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.
-
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
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 :-)
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
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
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
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
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
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
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
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
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
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
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
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
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
*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
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()
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()
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
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
-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
-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()'
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
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
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
-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.
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
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
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
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
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
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.
--
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
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
- - - - - - - - -
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
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
?
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
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
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
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']);
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
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
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
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
@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
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:
?
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
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
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
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
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:
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
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
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
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
* 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
I noticed this notation in one of the PEAR packages @session_start()? What
is the purpose of the '@' sign?
Thanks
Brandon
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
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()
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
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
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
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);
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
* 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,
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:
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
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);
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
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
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
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
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
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
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
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.
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
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.
* 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
* 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
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
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
[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
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.
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
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
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
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 - 100 of 150 matches
Mail list logo