Skip to content

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

Open
prantlf wants to merge 1 commit intoharborhoffer:masterfrom
prantlf:storage
Open

Add storage option (cookie, local, session) to choose where to store the last used theme#17
prantlf wants to merge 1 commit intoharborhoffer:masterfrom
prantlf:storage

Conversation

@prantlf
Copy link
Copy Markdown

@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