Free Online Programming Tutorials

Let’s Learn Web Programming!





Here’s more info on cookies that you may want to know -

• When the cookie is requested for the first time, the cookie is stored using the set-Cookie entry in the header of the response from the server.
• Set-cookie : name= value; expires = Date;Path=PATH;domain=DOMAIN;secure

Optional attributes are –

• Expires =Date
• Path=PATH ( path of the URL for which the cookie is valid)
• Domain – Domain specifies the domain for which the cookie is valid.
• Secure specifies that the cookie has to be transmitted only over a secure link.
• Exampleofcookies


Share This Post:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Add to favorites
  • MySpace
  • RSS
  • StumbleUpon
  • Technorati
  • Twitter

Add A Comment