Hi everybody

I want to start a session after a user validation, I
have my variable I want to register : $login
the code to start my session is:
....
session_name();
session_start();
session_register('login');
session_encode();
$url="Location: mypage.php?PHPSESSID=".$PHPSESSID;
header($url);

?>

after I run this php program I got:

Warning: Cannot send session cache limiter - headers
already sent(outputstarted /home/web/validacion.php:8)
in /home/web/validacion.php on line 47

Warning: Cannot add header information - headers
already sent by (output started
/home/web/validacion.php:8) in
/home/web/validacion.php on line 51

*********************************
you , you yes you can you help me.?

Thank you 


=====
_________________________________________________________________
Atte. 
Dante Omar Cabrera Heredia
Telf: 97189724
_________________________________________________________________

___________________________________________________
Yahoo! Messenger - Nueva versión GRATIS
Super Webcam, voz, caritas animadas, y más...
http://messenger.yahoo.es

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to