tessera-metrics / tessera

A dashboard front-end for graphite.
http://tessera-metrics.github.io/tessera/
Apache License 2.0
1.19k stars 81 forks source link

Settings don't persist #500

Closed thezerobit closed 9 years ago

thezerobit commented 9 years ago

I find myself setting the time zone and refresh settings quite often. It would be nice if these persisted between sessions.

aalpern commented 9 years ago

They are persisted in an anonymous session cookie - that should be relatively durable as long as your cookies aren't being cleared, or you're not visiting another instance of tessera that shares the same SECRET_KEY setting.

aalpern commented 9 years ago

Ah, setting the permanent flag on the session instance may help - http://flask.pocoo.org/docs/0.10/api/#flask.session

aalpern commented 9 years ago

I didn't run into this because Chrome breaks session cookie ephemerality: http://stackoverflow.com/questions/10617954/chrome-doesnt-delete-session-cookies

aalpern commented 9 years ago

Fixed.