+ 6

Why we cant use "localStorge (JS) " in soloLearn App?

Why we cant use "localStorge (JS) " or Cookies in soloLearn App ?

25th Dec 2017, 12:51 PM
Basel Akasha
4 ответов
+ 16
Because the codes you write have the same domain as SoloLearn servers and by accessing cookies/data you can access other accounts.
25th Dec 2017, 1:13 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 4
It's simply because your code it being hosted on a different subdomain of SL everytime. The browser cannot access it again. Also, standard WebView doesnt support LocalStorage.
25th Dec 2017, 2:12 PM
Private [GER]
Private [GER] - avatar
+ 4
If you have your own server you could use iframes to route to your own site and use local storage from there. If you only do this for one particular element (say, a button) you can still include most of the code for people to look at it as well.
25th Dec 2017, 3:11 PM
Peter David Carter
Peter David Carter - avatar
- 1
So how do i read it
28th Jan 2019, 1:01 PM
Tori miran
Tori miran - avatar