Re: Sessiom Problem

From: Date: Sat, 21 Jun 2003 00:18:43 +0000
Subject: Re: Sessiom Problem
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-20447@lists.php.net to get a copy of this message
This is happening because the session_start() is not the first line in your page and the others lines beside the session_start are already sending data or the header informations to the browser so when you are using the session_start he can't integrate the session cookie to the header so all the session features are disabled. Try moving the session_start in the bottom of the source. It's not the php.ini you have to change is your code. If the file couldn't be created another warning that the php cannot save session in /tmp/askldjkj0981312klj1231... on file xxxx.php on line 0 you'll receive. "Waldemar Brand Neto" <wbn@softall.com.br> wrote in message news:000a01c33732$a8cb63e0$1501a8c0@waldemar... Hy whwn I tried to use a sessiom this error ocours: Warning: Cannot send session cookie - headers already sent by and this: Warning: Cannot send session cache limiter In my php.ini the save path points to a valid directory and php creates a file session. Thank´s in advance. Wbn

« previous php.windows (#20447) next »