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

Add storage option (cookie, local, session) to choose where to store the last used theme #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

prantlf
Copy link

@prantlf prantlf commented Nov 5, 2013

The last used theme needs not be stored as a cookie. While it could be inspected on the server side, usually it is useful on the client side only. In the usual scenario, it can be stored in localStorage or sessionStorage in the browser, which are available in all browsers for some time (IE8 and newer, e.g.). Also, it avoids increasing the cookie space and questions about security and cookies sent over the network.

…the last used theme - cookie, localStorage or sessionStorage
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.

1 participant