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



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

SetCookieAsFloatEx

Declaration

Source position: pwumain.pas line 87

function SetCookieAsFloatEx(

  const name: String;

  value: double;

  const path: String;

  const domain: String;

  const expires: String

):Boolean;

Notes

An extended version of SetCookieAsFloat with more parameters available. You can set the path, domain, and expiry of the cookie.

Example

begin
  SetCookieAsFloatEx('cash', 120.25, '/cgi-bin/mydir', 'www.server.net', 'Fri, 09 Sep 2005 12:00:00 GMT');
end.





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