brooksessionhandler.pas 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. (*
  2. Brook framework, Session Handler Class
  3. Copyright (C) 2014 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. unit BrookSessionHandler;
  11. {$i brook.inc}
  12. interface
  13. uses
  14. BrookSession;
  15. type
  16. { Handles exceptions for @link(TBrookSession). }
  17. EBrookSessionHandler = class(EBrookSession);
  18. { Is a metaclass for @link(TBrookSessionHandler) class. }
  19. TBrookSessionHandlerClass = class of TBrookSessionHandler;
  20. { Handles the session features. }
  21. TBrookSessionHandler = class(TBrookSession)
  22. published
  23. property CookieName;
  24. property CookieDomain;
  25. property CookiePath;
  26. property CookieSecure;
  27. property CookieExpires;
  28. property Fields;
  29. property IgnoredFields;
  30. property Directory;
  31. property FilePrefix;
  32. property TimeOut;
  33. property HttpOnly;
  34. property AfterStart;
  35. property BeforeStart;
  36. property AfterFinish;
  37. property BeforeFinish;
  38. property AfterExpire;
  39. property BeforeExpire;
  40. end;
  41. implementation
  42. end.