Celso G. Correa wrote:

> When I run this script, I'm receiving back the following warning :
> 
> Warning: Cannot send session cache limiter - headers already sent (output started at 
>D:\Websites\Php\teste2_sess.php:6) in D:\Websites\Php\teste2_sessphp on line 8
> Sessão01 : cfe7f6288656774275396fcaebf9754e


Take a look at
http://www.php.net/manual/en/ref.session.php

there should be notes about this warning.

You cannot send any before you start session, since cookie is 
needed to be sent before any output. (When cookie is used for session)

BTW, your script does not seem valid. The manual & notes should 
help to find out what's wrong. Instead of using globals, use 
$HTTP_SESSION_VARS, then  you don't have to use 
session_register()/session_is_registered()/session_unregister().

--
Yasuo Ohgaki


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to