tags:

views:

55

answers:

1

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