httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "michele digioia" <micdigi...@tiscali.it>
Subject Re: [users@httpd] Cannot send session cookie
Date Thu, 12 Feb 2004 12:02:12 GMT
I'm sorry for OT.
Thanks for your help.
Mic

----- Original Message -----
From: "Jez Hancock" <jez.hancock@munk.nu>
To: "michele digioia" <micdigioia@tiscali.it>

> This is a PHP problem and so OT here.
>
> As a hint - make sure your script hasn't already sent out any HTML to
> the browser before it's trying to set a session variable.
>
> The error occurs because PHP can only send session data in the HTTP
> headers sent out from the web server - if you've already sent out some
> HTML / output to the browser this means the HTTP headers have already
> been sent and so if you try sending session data at that point the error
> you get occurs.
>
> --
> Jez Hancock
>  - System Administrator / PHP Developer
>
> http://munk.nu/
> http://jez.hancock-family.com/  - Another FreeBSD Diary
> http://ipfwstats.sf.net/        - ipfw peruser traffic logging
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message