RE: [PHP] Cannot send session cache limiter

From: Warren Vail (Warren.Vail_at_schwab.com)
Date: 12/31/03


To: "'john@johnallsopp.co.uk'" <john@johnallsopp.co.uk>, php-general@lists.php.net
Date: Wed, 31 Dec 2003 10:45:33 -0700

have you placed echo's on both sides of the session_start to make sure that
is where your error message is coming from;

echo "point 1<br>";
session_start();
echo "point 2<br>";

I am assuming that your send entry is in via the <form action="url">

Is there any thing different about that URL like appended get parameters as
in
url?parm=value&parm2=value2

perhaps you could show some code snippets.

Warren Vail

-----Original Message-----
From: john@johnallsopp.co.uk [mailto:john@johnallsopp.co.uk]
Sent: Wednesday, December 31, 2003 10:00 AM
To: php-general@lists.php.net
Subject: [PHP] Cannot send session cache limiter

Hi

(apologies if you've seen this, but I sent it and it both came back from
the list server, and it bounced back as a failed email, so I'm going to
try again)

I'm new to the list, but I've been PHP programming for almost 2 years
now, hard to believe.

Anyway, I have a program that's giving me a "Cannot send session cache
limiter", yet the very first thing the program does is session_start();

The only thing I can think that's different about this program to others
is that it calls itself. For instance, it outputs a form, the user hits
'submit' and the form action is the same prog .. there are two or three
stages handled like this. I think that's pretty standard, right?

The error only occurs second time around, not when I arrive at the
program from another.

It feels like something at the back end is saying "well, your next
program is the same as your current one, so I won't bother resetting
anything", leading to the error when session_start(); is called the
second time around .. as if I'd issued session_start() halfway through a
program.

I'd look it up, but, err, what under? Can anyone shed some light?

Cheers
J

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Relevant Pages

  • Re: button flip flop in the formulaire php
    ... time it's red a second time is red) ... PHP is a server side language so it has no idea of what is going on in the browser client. ... Only your momma cares about your feelings: To the rest of us they are a matter of supreme indifference, and the physical world cares even less. ... Or Dave. ...
    (comp.lang.php)
  • Is it possible to handle form submission in the same file?
    ... If you use Javascript you can set the FORM ACTION to call a function ... PHP? ... part will run instead, showing the HTML FORM. ... The data disappears, ...
    (comp.lang.php)
  • Re: Strange IE behavior
    ... As part of a website development, I wrote a PHP file which worked just ... Firefox etc., but failed miserably and frustratingly under IE. ... the second time without any GET parameters. ... of your users) requests a PHP page, IE will request it twice, which at ...
    (comp.lang.php)
  • Conditional onsubmit events
    ... The form action is a php ... What I'm trying to do is to execute a different javascript ...
    (comp.lang.javascript)
  • Re: button flip flop in the formulaire php
    ... Dave wrote: ... time it's red a second time is red) ... PHP is a server side language so it has no idea of what is going on in the browser client. ... If you still want to do that, go to the W3C schools ...
    (comp.lang.php)