RES: [php-objects] DIRECTLY GO TO LOGIN PAGE AFTER CLICKING "LOGOUT" LINK

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





 www.naturalsolution.com.br  


 Contatos:
 Fone:. 2831-4158 
 Email: contatos@xxxxxxxxxxxxxxxxxxxxxx 

 You can use header("location:index.php");

 

Exemple of code:

 

<?php
//Start session
session_start();

//Unset the variables stored in session
unset($_SESSION['SESS_MEMBER_ID']);
unset($_SESSION['SESS_FIRST_NAME']);
unset($_SESSION['SESS_LAST_NAME']);

Header(location:índex.php);
?>

 

If you?re running apache in your machi you should have to set
?output_buffering = On? on the php.ini file.



[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux