Studio session length expiration is set in the Crafter Studio web.xml by default at:
<session-config>
<session-timeout>75</session-timeout>
</session-config>
Studio also has a configuration at CLASSPATH:crafter/studio/studio-config.yaml (full file here: https://github.com/craftercms/studio/blob/master/src/main/resources/crafter/studio/studio-config.yaml)
# HTTP Session timeout for studio (value is in minutes).
studio.security.sessionTimeout: 60
Note that this timeout is shorter than the webapp configuration. This makes it easier to override it (typically make it shorter) by putting an override config in your classplath (TOMCAT/shared/classes/crafter/studio/extension/studio-config-override.yaml
studio.security.sessionTimeout: 30
I think the key here is to make sure that:
- The webapp timeout is longest
- Studio is configured to timeout sooner
- and Mellon is configured to timeout even sooner
A way to test this is simply to configure mellon to throw away it's authentication every x (2-3) minutes.