Returns the index of a cookie by name
Source position: httpdefs.pp line 210
public function TCookies.IndexOfCookie( |
const AName: string |
):Integer; |
AName |
|
Name of the cookie to find |
Index of the cookie or -1 if not found
IndexOfCookie returns the zero-based index of the cookie with the specified name. Returns -1 if no cookie with the given name is found.