[fpc-pascal] [FCL-WEB] Multiple Modules - On Session

leledumbo leledumbo_cool at yahoo.co.id
Thu Mar 22 07:21:12 CET 2018


> It seems that session management create one separate session by each module

That's right but should be OK, as the session is created based on cookie,
which if already exists, will be loaded instead of created. If memory serves
right, I remember you should set one or a few of these:
* fphttp.SessionFactory.SessionCookie
* fphttp.SessionFactory.SessionCookiePath

optionally, to easily check the created session files, you might want to
also set:
* (fphttp.SessionFactory as iniwebsession.TIniSessionFactory).SessionDir




--
Sent from: http://free-pascal-general.1045716.n5.nabble.com/


More information about the fpc-pascal mailing list