+ 5

Guys how to get any info on the login form given?

Guys how to get any information e.g name email or password with login form https://code.sololearn.com/WWIfbsNx7X2y/?ref=app

29th Nov 2020, 6:10 PM
EAGLE EYE
EAGLE EYE - avatar
4 ответов
+ 7
EAGLE EYE https://code.sololearn.com/WRa4gbier7ZW/?ref=app I added that this code save the email and password to your local Storage, but it comes a SoloLearn security error (access denied), I don't know if SoloLearn able that we save that info 🙁
29th Nov 2020, 6:24 PM
Matthew
Matthew - avatar
+ 6
If you want to do this client-side, your options are basically: -local storage -cookies Local storage is probably simplest: var info = 1; localStorage.info = 1; Then later: var info = parseInt(localStorage.info); Cookies are more complex. For more about storage with cookies have a look: https://www.w3schools.com/js/js_cookies.asp
29th Nov 2020, 6:16 PM
Matthew
Matthew - avatar
+ 5
I didn't understand 🤯
29th Nov 2020, 6:18 PM
EAGLE EYE
EAGLE EYE - avatar
+ 4
Thanks guy for your help😇
29th Nov 2020, 6:45 PM
EAGLE EYE
EAGLE EYE - avatar