Keep Session Across Page Reload In Backbone JS
问题 I am consuming an API which returns no cookie on login,but only an auth_token as part of json response. The base URL delivers the backbonejs application. say http://www.webiyo.com/ and by default login page is displayed. I want to keep the user session even if the user refreshes the page in backbonejs app. Problem is that my API doesn't return session cookie aka auth_token cookie ( it just returns an auth_token in a response json which is needed to be passed on all the subsequent calls in the