Nate's Work
- Set up Javascript cookies following a similar model to the other cookie apps
- Had some trouble reading cookies manually - eventually copied the get-cookie method from https://www.w3schools.com/js/js_cookies.asp
- Used the set-cookie method from the cookie api - referenced a function from here: https://stackoverflow.com/questions/4825683/how-do-i-create-and-read-a-value-from-cookie
- Set up php cookies
- Worked through this video: https://www.youtube.com/watch?v=ZdP0KM49IVk and referenced this for getting access to the cookie object:
http://php.net/manual/en/reserved.variables.cookies.php
- You can look at the code at leslienate.tech/hello.html for the javascript and leslienate.tech/hello.php
- You can access them at our server at ssh jim@leslienate.tech password mahoney /var/www/leslienate.tech/public_html