5 Answers
New Answer2/23/2018 5:33:26 PM
Samuel Leblanc5 Answers
New AnswerBy only using HTML and js you wont be able to store something on a client's machine due the lack of permissions. To get a clients username you can store the data like you said on the server in a session or you can store at the client by using cookies. But with cookies you have to be careful since someone can steal or craft them which is a security issue
You don't have to learn php for a server language for eg. ruby or python will do as well but I guess to get a feeling php is the easiest and fastest to start with ^^ Good luck haha
i just whant to code a favoris bar that remever your favorit web site as a chrome extwnsion server still seme like overkill XD
Oh Chrome extensions have their own way of saving client stuff... As far as I know this is even possible with js only... Check out the chrome extension API and play around a little bit
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message