Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

Cross domain cookie #19

Open
shubenkov opened this issue Jan 13, 2017 · 1 comment
Open

Cross domain cookie #19

shubenkov opened this issue Jan 13, 2017 · 1 comment

Comments

@shubenkov
Copy link

Hello.

If I try to set cookie for different domain, it does not work.

For example I go to site.corp.com and I want to set cookie to this session, but for different domain. For example to site.bank.net.

Is it possible?

@calio
Copy link
Contributor

calio commented Jan 17, 2017

You can do it by set the domain part of the cookie. It is documented here https://github.com/cloudflare/lua-resty-cookie#set.

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

No branches or pull requests

2 participants