如何从子域的主域名的cookie [英] How to remove Main Domain cookie from Sub Domain

查看:482
本文介绍了如何从子域的主域名的cookie的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是有可能从子域中删除主域cookie?我使用的。对单点登录注销我想删除的cookie的maindomain

is it possible to remove Main Domain cookie from Sub Domain ?I am using single sign on .On logout i want to remove the maindomain cookie

推荐答案

据我所知,你不能做到这一点。

As far as I know, you can't do that.

但不能你只要点在主域注销电话? (想必你已经这样做了登录的呼叫,为了让主域cookie摆在首位)

But couldn't you just point the logout call at the main domain? (presumably you're already doing this for the login call, in order to get the main domain cookie in the first place)

这篇关于如何从子域的主域名的cookie的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆