If you don't use output buffering, the session stuff has to be the first
thing in you script. In other words, you should not send anything to the
browser before the session functions.
In your case you are sending html tags to the browser before the session
functions.
Rewrite it as the following:
the session_start() should be placed at the top, before the
...
wrote in message
454D444FF5C0D211891800A0C98C7D90359A54@SERVIDOR">news:454D444FF5C0D211891800A0C98C7D90359A54@SERVIDOR...
> Hi! my name is bruno, from Brazil and i'm having some problems with
> sessions.
> Look my code:
>
>
Just move these two lines to the beginning of the file:
session_start();
session_register("test");
These have to be before any output is sent to the browser.
Kirk
> -Original Message-
> From: Bruno Freire [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 03, 2001 2:42
3 matches
Mail list logo