Citar
Fatal error: main() [<a href='function.main'>function.main</a>]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "Login" of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in C:\Documents and Settings\Administrador\Mis documentos\wwwroot\web\Index.php on line 33
y la linea 33 es:
Código
y la función getId es:
$logins=$_SESSION['login']; echo $logins->getId();(linea 33) }
Código
public function getId(){ return $this->id; }
gracias por la ayuda