Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spiderkeeper 设置不了cookie #106

Open
zlcting opened this issue May 23, 2019 · 0 comments
Open

spiderkeeper 设置不了cookie #106

zlcting opened this issue May 23, 2019 · 0 comments

Comments

@zlcting
Copy link

zlcting commented May 23, 2019

from flask import session,make_response

@app.route("/test",methods = ["GET","POST"])
def test():
response=make_response()
response.set_cookie('admin_permit','123123')
return ""
spiderkeep新加了一个页面 想给当前的域名设置cookie 按照上面的代码写好后,cookie设置无效
请问这是怎么回事啊?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant