[PHP] Warning: Cannot send session cookie

2005-10-04 Thread John Taylor-Johnston
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.

Re: [PHP] Warning: Cannot send session cookie

2005-10-04 Thread Jasper Bryant-Greene
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

Re: [PHP] Warning: Cannot send session cookie

2005-10-04 Thread John Taylor-Johnston
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 ;)

Re: [PHP] Warning: Cannot send session cookie

2005-10-04 Thread Stephen Leaf
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

[PHP] FOLLOW UP:[PHP] Warning: Cannot send session cookie

2001-12-27 Thread David Jackson
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

[PHP] Warning: Cannot send session cookie

2001-12-26 Thread David Jackson
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

Re: [PHP] Warning: Cannot send session cookie

2001-12-26 Thread Michael Sims
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

Re: [PHP] Warning: Cannot send session cookie

2001-12-26 Thread Jim Lucas [php]
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