Ver Mensaje Individual
  #2 (permalink)  
Antiguo 15/04/2010, 14:04
Avatar de newboy_master
newboy_master
 
Fecha de Ingreso: enero-2008
Ubicación: Granada
Mensajes: 882
Antigüedad: 16 años, 3 meses
Puntos: 46
Respuesta: No perder login usuario al usar paginas externas

¿Has probado a poner "session_start();" al principio del archivo?

Código PHP:
Ver original
  1. <?php
  2.  
  3. define('IN_PHPBB', true);
  4. $phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
  5. $phpEx = substr(strrchr(__FILE__, '.'), 1);
  6. include($phpbb_root_path . 'common.' . $phpEx);
  7. include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
  8. include($phpbb_root_path . 'includes/bbcode.' . $phpEx);
  9.  
  10. // Start session management
  11. $user->session_begin();
  12. $auth->acl($user->data);
  13. ?>

No sé si funcionará, pero por probar que no quede.

Salu2.
__________________
@jslirola - Programador Web Freelance.