Any idea why I'm getting this error, and only on this page? I have the
same header on every other page?
http://testesp.flsh.usherb.ca/thingstodo.html
The page contains a \n before I start my ?php. Is this doing it?
?php
session_name( 'CCLTrolley' );
session_start();
// Initialize the trolley.
John Taylor-Johnston wrote:
Any idea why I'm getting this error, and only on this page? I have the
same header on every other page?
http://testesp.flsh.usherb.ca/thingstodo.html
The page contains a \n before I start my ?php. Is this doing it?
Most likely, yes. Why didn't you try removing it
Michael Crute wrote:
The page contains a \n before I start my ?php. Is this doing it?
That \n is it. You can't send ANYTHING to the browser before you send
the headers and cookies are part of the headers. Take out the \n and
all should be well.
Thanks. Dreamweaver screwed me over ;)
On Tuesday 04 October 2005 08:15 pm, John Taylor-Johnston wrote:
Any idea why I'm getting this error, and only on this page? I have the
same header on every other page?
http://testesp.flsh.usherb.ca/thingstodo.html
The page contains a \n before I start my ?php. Is this doing it?
yup
?php
Michael (and list) --
I've made the adjustment suggested the scripts are below.
What I'm trying todo is pass the uid and mid to the sales.php script.
It works the first time!! But if I reload sales.html the next record( w/
same uid) isn't added or if I login in as a different id the records
Greetings --
PHP + MySQL + sessions?
I'm trying use the script( and html page) to below to set session
variables, but
keep getting the follow errors:
NOTE: I seen several posting re: using $HTTP_SESSION_VAR is another case
where
that would apply?
Thanks in advance,
David Jackson
At 08:54 PM 12/26/2001 -0500, David Jackson wrote:
I'm trying use the script( and html page) to below to set session
variables, but
keep getting the follow errors:
[...]
Browser Error Messages -
Warning: Cannot send session cookie - headers already sent by
Subject: [PHP] Warning: Cannot send session cookie
Greetings --
PHP + MySQL + sessions?
I'm trying use the script( and html page) to below to set session
variables, but
keep getting the follow errors:
NOTE: I seen several posting re: using $HTTP_SESSION_VAR is another case
where
8 matches
Mail list logo