Basic HTML version of Foils prepared 23 June 1997

Foil 70 Cookies Files on the Client

From JavaScript Tutorial for Certificate Course UC Web applications Certificate -- Summer 97. by Geoffrey C. Fox, Tom Scavo

Lecture with Cookies
1 Cookies provide an alternative mechanism where information is saved in a special file on the client called cookies or cookies.txt
  • Note History, Cache, and Bookmarks are also saved on the client
2 Such files can preserve information in a more robust way than hidden fields!
3 Cookies are supported by Microsoft and Netscape and can be used (like forms) for purely client-side or client-server activities
4 Neither hidden fields or cookies are very secure
5 Cookies have five attributes: name, expires, domain, path and secure, which are specified on a single line. Only name is required; all other attributes are optional

in Table To:


Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Wed Apr 1 1998