I have a signout button that I need to make work...what is the best way to do that through mysql? thanks
+3
A:
If your login system is session based and you are using PHP simply link to a php file with
<?php
$redirTo = 'http://www.your.domain/index.page';
session_unset();
session_destroy();
header('Location: '.$redirTo);
exit();
code_burgar
2009-09-04 17:45:32