#522 Usuario Logueado

open
nobody
None
1
2014-08-25
2014-04-02
Anonymous
Yes

Bunas tardes

Luego de loguearme, cuando cierro el navegador y lo vuelvo a abrir, sigue el usuario logueado.

Como podemos cerrar la sesión? asi cuando se abra el navegador pida usuario al momento de agregar o editar.

Discussion

  • Assuming you are using $auth['session'] = 'php' (the default) then you should set

    $auth["session_php"]["session_expire_time"] = 0;
    

    in your config file.

    Campbell

     
  • What is $auth['session'] set to in your config file? (It may not be set to anything)

    Campbell

     
  • What browser are you using? And are you closing the browser or closing a tab?

    Campbell

     

  • Anonymous
    2014-04-04

    y si se utiliza

    session_destroy();

    por ejemplo en index

     

  • Anonymous
    2014-04-04

    al agregar en config
    $auth["session_php"]["session_expire_time"] = 0;
    no cierrar la sesión

    Puedo utilizar session_destroy(); en index.php?

     
  • I don't think adding session_destroy() in index.php will make any difference.

    Can you tell me what browser you are using? And are you closing the browser window or the browser tab?

     

  • Anonymous
    2014-04-04

    uso
    internet explorer
    Firefox
    Opera
    Google Chrome

    y hago ambas cerrar browser y tab

     
  • Can you run the following test file and let me know the output? The program gets the values of your session settings for php.ini.

    Campbell

     
    Attachments


Anonymous


Cancel   Add attachments