session php mysql ,,,,help
| From: | Dante O. Cabrera H. | Date: | Thu, 17 Jul 2003 23:55:10 +0000 |
| Subject: | session php mysql ,,,,help | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-155701@lists.php.net to get a copy of this message | ||
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