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

Removed redundant defaultLocale cookie set #95

Merged
merged 1 commit into from May 21, 2012

Conversation

webflint
Copy link

Both cfset cookie["DefaultLocale"] & cfcookie send the cookie in the response to the client so only one is needed. I chose cfcookie since it gives you more options and we may provide options in the future to persist this cookie for longer than the browser session.

Ben has a writeup about this behavior:
http://www.bennadel.com/blog/1913-Setting-ColdFusion-Cookies-With-CFCookie-vs-Cookie-Scope.htm

lmajano added a commit that referenced this pull request May 21, 2012
Removed redundant defaultLocale cookie set
@lmajano lmajano merged commit 1094e3a into ColdBox:development May 21, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants