On Fri, 15 Oct 2010, ABorka wrote:
On 10/15/2010 12:23, Joshua Lim wrote:
Hi, fetching data from the database aside, how about web session
management for a multiple user website? Web scripts like php come with
session management built-in. What is the best way to do that using
pascal? Thanks.
Also built-in into fpweb (the cookie sessions management that is).
You can see examples under /lazarus/components/fpweb/demo/session
and
/lazarus/components/fpweb/demo/fptemplate/sessions/cookiesessions...
/lazarus/components/fpweb/demo/fptemplate/sessions/urlsessions...
Aha. I didn't know about those. Good to know :-)
On my todo list is still storing the cookies in a database,
because ini files are nice, but rather slow.
Should be implemented by christmas.
Michael.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus