For security reasons, cookies can only be sent back to the web-server the creating document originated from. However, in large web-server farms, the web pages may be distributed for load balancing reasons. Because of this, the domain attribute provides a way to widen the scope to any machine within a domain.
Prev | Home | Next |
Cookie | Up | Cookie expires |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |