Basic HTML version of Foils prepared 11 March 99

Foil 7 Specification of a cookie - II

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)

Authoring Guide, Using Cookies
DOMAIN defaults to domain of server where cookie set and general matching matching is done starting at end of domain
  • DOMAIN=npac.syr.edu matches all servers ending with these characters
PATH=/ is most general path and matches all paths but default is again path of document that set cookie.
  • Thus you must set PATH explicitly to / if you want cookie to be valid for a file stored in directory below that of setting document
SECURE if present requires a secure communication channel



© 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