With VT Docs the default time before session expires is 120mins. You can modify this time by editing the web.xml file located at:
Ubuntu
/home/visiblethread/tomcat/conf/web.xml
Red Hat
/opt/visiblethread/tomcat/conf/web.xml
Open the web.xml file with a text editor, the example below uses vi.
vi web.xml
# Too search for the section to change session time, once in vi type:
:/session
# This should bring you to the session configuration section. The section looks like this.
<session-config>
<session-timeout>120</session-timout>
</session-config>
Note: that session timeout is in minutes. e.g If you wanted 3hrs you would type in 180mins.
Don't forget to save your changes and restart the service to have the change take effect.
Ubuntu
sudo service supervisor restart
Red Hat
Sudo systemctl restart visiblethread-docs