0

在我的注销页面中,我必须完成 3 个任务

1. destroy session
2. logout from google account
3. redirect to google home page

我在注销页面中编写了以下代码:

<?php
    session_start();

    session_destroy();
    header('location: https://www.google.com/accounts/Logout');
    header('location: http://www.google.com');
?>

第 1 步和第 3 步工作正常,但无法从谷歌帐户注销。

有什么建议吗?

4

0 回答 0