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

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

Cookies template tag #16

neocotic opened this issue Jul 27, 2011 · 1 comment

Comments

@neocotic
Copy link
Member

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
Copy link
Member Author

This has now been implemented.

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

No branches or pull requests

1 participant