X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=ng_selfservice%2Fpayment_only_logout.php;fp=ng_selfservice%2Fpayment_only_logout.php;h=e172680cb8622ca85fbee4d670d3a09b77db4672;hp=0000000000000000000000000000000000000000;hb=2a82381a976c22f2c0d85645e8b327713ddcbd88;hpb=29445ff3f69c32ba0f836f3c5bbaf946c154b360 diff --git a/ng_selfservice/payment_only_logout.php b/ng_selfservice/payment_only_logout.php new file mode 100644 index 000000000..e172680cb --- /dev/null +++ b/ng_selfservice/payment_only_logout.php @@ -0,0 +1,35 @@ +ip_logout( array( + 'session_id' => $_COOKIE['session_id'], +) ); + +setcookie('session_id', '', time() - 3600); + +$error = $response['error']; + +if ( $error ) { + error_log("Logout error: $error "); +} + +?> + + + + + + Logged Out + + + + + + + Logged Out +

+ You have been logged out. + + \ No newline at end of file