Where is best place to store authorization data when I use Backbone and AMD modules?
-
12-11-2019 - |
سؤال
I create js app with Backbone and RequireJS for registred or non registred users. To retrive data from database I use simple JSON web service and of course some of methods are not avaiable for quest. Problem is that I don't know where or how I should store auth data retrive from server without reloading it in every view. Should I use cookies ?
لا يوجد حل صحيح
لا تنتمي إلى StackOverflow