I am currently having an requirement to add session timeout for the application, we are using session of Apache server and a session cookie is set by default with no maxage. So in order to add timeout for the session I am using SessionMaxAge directive to set some timeout in httpd.conf file
SessionMaxAge 1200
SessionCookieName session path=/
This works fine as cookie now has some expirytime set, but our requirement is to set this time '1200' dynamically based on configurable value read from some CSS file we have.
Is it possible to extract any css rule value dynamically and assign it to SessionMaxAge directive? Does anyone have any example of setting SessionMaxAge with some value read from any file?