sMsg : string; sMsg := ''; if Cookies.enabled then begin Cookies.Set('xyz','testdata'); if Cookies.Exists('xyz') then sMsg := 'Yes Exists -> ' else sMsg := 'NO Exists -> '; showmessage(sMsg + ' xyz = ' + Cookies.items['xyz']); end;