Topic Path: Symbol Reference > Classes > TIdServerCookie Class
TIdServerCookie Class

Implements a server cookie.

TIdServerCookie = class(TIdCookieRFC2109);

TIdServerCookie is a TIdCookieRFC2109 descendant that implements Cookies used in an HTTP server. 

TIdServerCookie is descended from TIdCookieRFC2109 to provide access to the Expires property (instead of Max-Age, which is not supported in most new browsers). 

TIdServerCookie reimplements the GetCookie method to update the ExpiresDate property when a value has been assigned to MaxAge

TIdServerCookie implements the AddAttribute method to handle server-specific Path and Domain values.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.