Internet Direct (Indy)
Home
PreviousUpNext
TIdServerCookie Class

Implements a server cookie.

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.