Session error

From: Date: Sun, 11 Jun 2000 20:47:34 +0000
Subject: Session error
Groups: php.dev 
Request: Send a blank email to php-dev+get-21022@lists.php.net to get a copy of this message
Hi.. I'm tryin to check if there is a session created with the IP of the username. Since it's a function I specify the IP in the main file and send it as check_ses($uip) but i get and error saying Warning: Cannot send session cache limiter - headers already sent by (output started at Can anyone help me out? This is the function i use : function check_ses($ip) { session_start(); if (session_is_registered($ip)) { echo "this for other pages"; return 1; } else { session_register('$ip'); } }

« previous php.dev (#21022) next »