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

Cookies are not set on ELB DNS #3

Open
sparrovv opened this issue Dec 16, 2016 · 0 comments
Open

Cookies are not set on ELB DNS #3

sparrovv opened this issue Dec 16, 2016 · 0 comments
Assignees

Comments

@sparrovv
Copy link

I've been testing server side events for mayflower on temporary ELB domain(https://mayflower-v01-staging-lb-471749990.eu-west-1.elb.amazonaws.com) and it looks that cookie is not persisted in the browser after setting in sinatra response:

#in sinatra
puts response.headers
{"Content-Type"=>nil, "Set-Cookie"=>"_sp_id.3c70=a8bb24cb31a5de50.1481879822.0.1481879822.; domain=.amazonaws.com; path=/; expires=Sun, 16 Dec 2018 09:17:02 -0000"}
# browser console
document.cookie
""

Screen shot from Network tab:

screenshot 2016-12-16 10 25 59

It works on localhost.

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

2 participants