Posted by Jerry Stuckle on 10/10/06 02:03
Garry Jones wrote:
> "Jerry Stuckle" <jstucklex@attglobal.net> skrev i meddelandet
> news:tbSdnViJDIv6LbfYnZ2dnUVZ_oudnZ2d@comcast.com...
>
>
>>Are you calling session_start() before ANY output is sent to the browser?
>>This includes html, php output or even white space.
>
>
> No. Are you supposed to?
>
> I can session_start in similar code on other sites and they work ok.
>
> My php session start is in a segment of code called in by a ´condition"
> being met)
>
> This problem is persisting. I need to carry a variable forward past a form
> being read in and processed,
>
> Garry Jones
> Sweden
>
>
Yes. Try adding this code just before you call session_start() and
you'll see your error:
ini_set('display_errors', 1);
error_reporting(E_ALL & ~E_NOTICE);
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|