RE: [PHP] Cannot send session cache limiter
From: Warren Vail (Warren.Vail_at_schwab.com)
Date: 12/31/03
- Next message: Roger Spears: "Re: [PHP] Rename generates level 2 warning but works"
- Previous message: john_at_johnallsopp.co.uk: "Cannot send session cache limiter"
- Next in thread: john_at_johnallsopp.co.uk: "RE: [PHP] Cannot send session cache limiter"
- Reply: john_at_johnallsopp.co.uk: "RE: [PHP] Cannot send session cache limiter"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Roger Spears: "Re: [PHP] Rename generates level 2 warning but works"
- Previous message: john_at_johnallsopp.co.uk: "Cannot send session cache limiter"
- Next in thread: john_at_johnallsopp.co.uk: "RE: [PHP] Cannot send session cache limiter"
- Reply: john_at_johnallsopp.co.uk: "RE: [PHP] Cannot send session cache limiter"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|