Jump to content

SOLUCIONADOSaber quien esta logueado


ditolas

Recommended Posts

Hola a todos,

quiero saber si hay alguna manera de saber si un cliente en concreto quiere acceder a una parte de la tienda.

Se puede saber si esta logueado o no asi:

<?php
require(dirname(__FILE__).'/config/config.inc.php');
 
if ($cookie->isLogged())
{
Controller::getController('xxxxController')->run();
}
else
{
Controller::getController('IdentityController')->run();
}
?>
 
 
pero yo querría poder compararlo con un cliente en concreto  .No se si me he explicado bien
Edited by ditolas (see edit history)
Link to comment
Share on other sites

  • nadie locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...