Basic HTML version of Foils prepared 11 March 99

Foil 5 Cookies -- Client Side Files

From Overview of JavaScript II -- From Cookies to Dynamical HTML CPS616 Technologies of the Information Age -- Spring Semester 99. by Geoffrey C. Fox (Tom Scavo)

Cookies
1 Cookies provide an alternative mechanism to hidden files where information is saved in special file on client (called cookies or cookies.txt)
  • Note History Cache Bookmarks are also saved client side
2 Such files can preserve information in a more robust way than hidden alternative!
3 Cookies are supported by Microsoft and and Netscape and can be used (like forms) for pure client-side or client-server activities
4 Neither hidden or cookies are very secure
5 Cookies have 5 attributes -- name, expires, domain, path and secure and are specified by a single line that must specify a value for name but where 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 Thu Mar 11 1999