Temporary files generated on a Windows server with Apache

For some time now I have been using QGIS and the QGis server installed with OSGeo4w installation. In addition, I also use Lizmap. OSGeo4W is installed on my C drive and Lizmap on the D drive. After doing the right configuration here and there, everything runs perfectly. However, after a while I searched for something in my Windows directory and saw a lot of QGIS3.xxxx and ses.xxxx files/directories there.
Apparently all temporary files. I have manually deleted them without consequences for QGIS and Lizmap. I would rather have these files somewhere else than in my Windows folder of course. But nowhere could I make a setting to point them to another folder. I also do not understand where the files come from. If I turn off my service webservice Apache2.4, I do not see the files coming back. Do more people know or have experience with this and can they help me solve this.?
Below are a few examples of the files.

Map:
QGIS3-FPEXGN
Containing:
YdwWWs_styles.db

File:
sess_3t4j0havk8nqsql43345sicicb
Contents:
JX_LANG|s:5:“nl_NL”;JELIX_USER|O:35:“cDaoRecord_lizmap_Jx_user_Jx_sqlite”:17:{s:16:" * __dao_profile";s:5:“jauth”;s:5:“login”;s:7:“#user1;s:5:“email”;s:17:"xxxx@outlook.com";s:8:“password”;s:60:“tOp5tM67TMO”;s:9:“firstname”;s:5:“xxxxx”;s:8:“lastname”;s:8:“xxxxxxx”;s:12:“organization”;s:4:“xxxxx”;s:11:“phonenumber”;s:10:“xxxxxxxxxx”;s:6:“street”;s:21:“xxxxxxxxxxxxxxx”;s:8:“postcode”;s:7:“xxxx”;s:4:“city”;s:6:“xxxx”;s:7:“country”;s:8:“xxxxx”;s:7:“comment”;s:12:“xxxx Lizmap”;s:6:“status”;i:1;s:11:“keyactivate”;N;s:12:“request_date”;s:19:“2024-03-21 13:09:11”;s:11:“create_date”;s:19:“2024-03-21 13:09:14”;}JFORMS_SESSION|O:13:“jFormsSession”:0:{}