Re: Sessions don't work

From: Date: Fri, 11 Apr 2003 20:36:17 +0000
Subject: Re: Sessions don't work
Groups: php.install 
Request: Send a blank email to php-install+get-10589@lists.php.net to get a copy of this message
To set a session, the HTTP headers must be sent FIRST, to set the cookie. The error you are seeing is a direct result of some kind of character (maybe a hidden character) being sent before the HTTP headers. Are your two servers running the same OS? Use 'vi' to check the script on the server (it doesn't work on) to make sure it doesn't have any Windows CTL-M's. -- Jim >>> Juergen Geuter <juergen.geuter@gambit.ath.cx> 04/11/03 02:25PM >>> ... 11.04.2003 22:26 ... ... Michael Scappa made me react on:... > Looks like you probably have a line break before your opening <?php tag. > > -mike Thanks Mike, but I already checked that, no there's no linebreak and no whitespace. The Script works on another server.. Jürgen Geuter -- ICQ # 81510866 - http://www.emptiness.de - thanatos@emptiness.de "Think before you speak." -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.install (#10589) next »