meteor/meteor — pull request #188 by joshrtay (2012-06-15 19:50:32+00:00)
Title: Session resumption

Enable session resumption by storing last_session_id in a cookie:

cookie('last_session_id',self.last_session_id,15);

and reading the cookie in the LivedataConnection constructor:

self.last_session_id = cookie('last_session_id');

Also need to rerun all subscriptions on session resumption.