Roll Your Own Remember Me

October 11, 2009

I’ve been setting up Fluid Applications for a lot of the web applications I use frequently. This lets you run a web application in a lightweight browser, like it’s a native OS X application. Instead of having Gmail, Google Reader, Pivotal Tracker, and New Relic running in tabs in a browser I have them running as separate applications that I can switch between using the normal Cmd-Tab.

This has been working really well for me, until I hit one annoyance with New Relic. This web app doesn’t have a remember me feature. Its login cookies expire every time you close your browser session (as is the default in ruby on rails). This meant that every time I would pop it open I would have to re-enter my login credentials. Turns out I like to quit and reopen this application a lot, and was starting to get really irritated by having to retype my email and password to do a quick check of the production servers.