Increasing session timeout - Mendix Forum

Increasing session timeout


I’m trying to download an especially large file using a custom java RequestHandler, but since the process of downloading the file takes several minutes, I get the following error:



I have tried to adjust the SessionTimeout and EnableKeepAlive custom configurations in my Mendix Settings, but doing so seems to have no effect whatsoever on the above error.

Furthermore, using 

response.getHttpServletResponse().setHeader("Connection", "Keep-Alive");
response.getHttpServletResponse().setHeader("Keep-Alive", "timeout=1200, max=500");


does not seem to have an effect either.


How can I increase the timeout duration to avoid the above error?

0 answers