Basic HTML version of Foils prepared 23 June 1997

Foil 72 Specification of a Cookie - II

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


DOMAIN defaults to domain of server where cookie set and suffix matching is performed
  • DOMAIN=npac.syr.edu matches all servers ending with these characters
PATH=/ is most general path and matches all paths; default is 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 Wed Apr 1 1998