Sign in Join
FPDoc Onlineexperiment

TCookies.IndexOfCookie function

Member of TCookiespublicIn unit HTTPDefs

Returns the index of a cookie by name

Declaration

pascal
function IndexOfCookie(const AName: string): Integer

Arguments

AName

Name of the cookie to find

Function result

Index of the cookie or -1 if not found

Description

IndexOfCookie returns the zero-based index of the cookie with the specified name. Returns -1 if no cookie with the given name is found.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.