Writing a cookie - the code
Not what you're looking for?
Create a cookie named Mod4 that expires after 10 days. Write the necessary lines of code.
Purchase this Solution
Solution Summary
Give html code will create a cookie Mod4. Step by step explanation is also given for non-computer specialists.
Solution Preview
Following html code will create a cookie named Mod4
<html>Creating Cookie named Mod4
<SCRIPT LANGUAGE="JavaScript">
window.onload=document.cookie='Mod4=My_data_to_store; expires=10; path=/'
</SCRIPT>
</html>
Explanation of the code:
<html> to begin a HTML ...
Purchase this Solution
Free BrainMass Quizzes
Basic Computer Terms
We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.
Java loops
This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.
Word 2010: Tables
Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.
Word 2010: Table of Contents
Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.
C# variables and classes
This quiz contains questions about C# classes and variables.