Saturday 15 April 2017

Is cookie still used?

While I was reading about cookies, I tried the following in browser console:- document.cookie = "username=John Doe";

result:- SecurityError (DOM Exception 18): The operation is insecure.



via Rohit Bhardwag

No comments:

Post a Comment