Prevent Meteor.loggingIn() from running every refresh

Is there a way to prevent Meteor.loggingIn() from running every time a user refreshes the page? Can’t the current user information be stored in a cookie or something so that this process doesn’t need to run every time?

In case I’m not clearly wording my question due to my inexperience, what I mean is like with Facebook, if I am logged in, it goes directly to my feed. There is no loading template displayed while it checks if the user is logged in or not. I am looking for similar functionality and cleanness.


1 Like