Question:What is the correct syntax of creating JavaScript cookie? 

A cookie="name=value;[expires];[path];[domain];[secure]" 

B document.cookie="name=value;[expires];[path];[domain];[secure]" 

C window.cookie="name=value;[expires];[path];[domain];[secure]" 

D document.cookie="name=value;[path];[expires];[domain];[secure]" 

+ Answer
+ Report
Total Preview: 910

Copyright © 2024. Powered by Intellect Software Ltd