+ 1

I want to create cookies from an array which has 7 elements

var person = []; //empty array person["name"] = "John"; person["age"] = 46; person ["email] = "klawrence026@gmail.com" How can i create cookies for this object

8th Jul 2018, 9:17 AM
Khaukanani Lawrence
Khaukanani Lawrence - avatar
4 Réponses
+ 3
You can use HTML5 Web Storage instead of cookies (it is easier to use and more secure) Here are the related lessons: https://www.sololearn.com/learn/HTML/2197/?ref=app
8th Jul 2018, 10:16 AM
giannismach
giannismach - avatar
+ 1
Oh sorry i didn't know that
8th Jul 2018, 5:20 PM
giannismach
giannismach - avatar
0
it is an assignment I hv 2 strictly use cookies
8th Jul 2018, 2:32 PM
Khaukanani Lawrence
Khaukanani Lawrence - avatar