The secure attribute is a Boolean value that defines whether the secure protocol is required. If it is activated, then the cookie is only sent to a server when the secure https: protocol is used. To activate this facility simply add the secure attribute to the cookie.
Prev | Home | Next |
Cookie path | Up | Cookie value |
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. |