brooksessionhandler.pas 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. (*
  2. Brook for Free Pascal
  3. Copyright (C) 2014-2019 Silvio Clecio
  4. See the file LICENSE.txt, included in this distribution,
  5. for details about the copyright.
  6. This library is distributed in the hope that it will be useful,
  7. but WITHOUT ANY WARRANTY; without even the implied warranty of
  8. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  9. *)
  10. { Session handler class. }
  11. unit BrookSessionHandler;
  12. {$i brook.inc}
  13. interface
  14. uses
  15. BrookSession;
  16. type
  17. { Handles exceptions for @link(TBrookSession). }
  18. EBrookSessionHandler = class(EBrookSession);
  19. { Is a metaclass for @link(TBrookSessionHandler) class. }
  20. TBrookSessionHandlerClass = class of TBrookSessionHandler;
  21. { Handles the session features. }
  22. TBrookSessionHandler = class(TBrookSession)
  23. published
  24. property CookieName;
  25. property CookieDomain;
  26. property CookiePath;
  27. property CookieSecure;
  28. property CookieExpires;
  29. property Fields;
  30. property IgnoredFields;
  31. property Directory;
  32. property FilePrefix;
  33. property TimeOut;
  34. property HttpOnly;
  35. property AfterStart;
  36. property BeforeStart;
  37. property AfterFinish;
  38. property BeforeFinish;
  39. property AfterExpire;
  40. property BeforeExpire;
  41. end;
  42. implementation
  43. end.