help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Procedures and functions] Reference for unit 'pwumain' (#powtils_main)

GetCookie

Declaration

Source position: pwumain.pas line 79

function GetCookie(

  const name: String

):String;

Notes

Gets a cookie if it has been set on visitor's computer.

Returns the cookie as a string if found. Returns empty string if cookie not found or there was a cookie error.

Optionally, you can use the IsCookie function to first check whether a cookie exists.

Example

For an example, see the SetCookie and UnsetCookie function docs.

See also

SetCookie, SetCookieEx, UnsetCookie, IsCookie






lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505