3 require('freeside.class.php');
4 $freeside = new FreesideSelfService();
6 $response = $freeside->logout( array(
7 'session_id' => $_COOKIE['session_id'],
10 setcookie('session_id', '', time() - 3600);
12 $error = $response['error'];
15 error_log("Logout error: $error; ignoring");
18 header('Location:index.php?error='.
19 urlencode( _('You have been logged out.'). ' '.
20 _('Thank you for using the system.')