You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by "Li Can (Jira)" <ji...@apache.org> on 2022/12/01 02:49:00 UTC

[jira] [Created] (KYLIN-5310) when session store-type is jdbc or other setting type, the 'spring.session.timeout' not work

Li Can created KYLIN-5310:
-----------------------------

             Summary: when session store-type is jdbc or other setting type, the 'spring.session.timeout' not work
                 Key: KYLIN-5310
                 URL: https://issues.apache.org/jira/browse/KYLIN-5310
             Project: Kylin
          Issue Type: Improvement
          Components: Security
    Affects Versions: 5.0-alpha
            Reporter: Li Can
             Fix For: 5.0-alpha
         Attachments: 1.png

Even if the user setting 'spring.session.timeout' config in kylin.properties, the config will not work due to the 'spring.session.strore-type' setting. The cause is that when you setting the store-type to other type, the default session will be overrided, then the 'spring.session.timeout' will not work.

So just look at the pic, set 'spring.session.timeout ' to 7200, but from the jdbc session table, the maxinactiveinterval is still 1800.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)