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 template tag #16

Closed
neocotic opened this Issue Jul 27, 2011 · 1 comment

Comments

Projects
None yet
1 participant
@neocotic
Member

neocotic commented Jul 27, 2011

Change the {cookies} attribute to return an map of cookies for the URL instead, renaming the existing tag to {cookiesEnabled}.

However, due to cookie name looseness it's probably best if {cookies} returns an array of cookie names and an additional function tag (e.g. {#cookie}...{/cookie}) is used to access their corresponding values. This will prevent any possible problems when creating a JavaScript object using cookie names as properties.

@neocotic

This comment has been minimized.

Member

neocotic commented Jul 27, 2011

This has now been implemented.

@neocotic neocotic closed this Jul 27, 2011

@neocotic neocotic added the accepted label Nov 15, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment