Skip to content

Deleting cookies via the same IP they are set with#223

Merged
nlake44 merged 1 commit intoAppScale:testingfrom
shatterednirvana:delete-cookie-on-logout
Jan 2, 2013
Merged

Deleting cookies via the same IP they are set with#223
nlake44 merged 1 commit intoAppScale:testingfrom
shatterednirvana:delete-cookie-on-logout

Conversation

@shatterednirvana
Copy link
Copy Markdown
Contributor

Cookies were being created with the public IP address and deleted via the private IP address. If these IPs are the same, this is not an issue, but in VirtualBox and EC2 (and certain types of Euca deployments), this is not true and thus can the cookie won't be deleted. Remedied this problem by always deleting via the public IP address.

This fixes issue #79. Tested on VirtualBox. To test, spawn a one node deployment on VirtualBox (with more than one eth device) or EC2 and upload the guestbook application. Log in as the admin user and log out. Then post to the guestbook app. Before this fix, you would still see your posts under your admin user account. After this fix, you see the posts performed anonymously.

@ghost ghost assigned nlake44 Jan 2, 2013
@nlake44
Copy link
Copy Markdown
Contributor

nlake44 commented Jan 2, 2013

Looks good. Requesting demo.

nlake44 added a commit that referenced this pull request Jan 2, 2013
Deleting cookies via the same IP they are set with
@nlake44 nlake44 merged commit e406c9a into AppScale:testing Jan 2, 2013
@nlake44
Copy link
Copy Markdown
Contributor

nlake44 commented Jan 2, 2013

Demo'ed and looks good.

nlake44 added a commit to nlake44/appscale that referenced this pull request Sep 30, 2013
…balancer-to-appdashboard

renamed apploadbalancer to appdashboard
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

Successfully merging this pull request may close these issues.

2 participants