金字塔...无法在Windows Chrome中注销应用程序

时间:2013-01-02 20:41:52

标签: python google-chrome pyramid

我有一个带登录系统的金字塔应用程序。在“大多数”浏览器上一切正常......用户可以登录和注销,没有任何问题。但是,在Windows chrome中,用户可以正常登录但无法注销。当我说他们无法注销时,如果用户刷新页面,那么他们仍然会登录。没有给出错误。重要的是,用户可以使用Linux chrome和Chrome for Chrome进行登录和注销(我没有在任何其他版本的Chrome上测试过)。我有:

注销视图:

@view_config(route_name='logout')
def logout(request):
    headers = forget(request)
    return HTTPFound(location = request.route_url('home'), headers=headers)

我用谷歌搜索但找不到解决windows chrome问题的任何内容。 任何帮助表示赞赏。

0 个答案:

没有答案