title: Session timeout if no activity in 15 minutes not working?
body: <p>I use advanced template and I can successfully session timeout in 15 minutes but it doesn't depends on activity, so even user active in website after login he will be logout after 15 minutes.</p>
  
  <p>I know the idea I should put trigger to increase timeout in SiteController, but don't know how to implement it. </p>
  
  <p>So far here is my code</p>
  
  <p><code>backend\config\main.php</code></p>
  
  <pre><code>  'user' =&gt; [
              'identityClass' =&gt; 'common\models\User',
              'enableAutoLogin' =&gt; false,
              'authTimeout' =&gt; 900
          ],
          'session' =&gt; [
              'class' =&gt; 'yii\web\Session',
              'cookieparams' =&gt; ['httponly' =&gt; true, 'lifetime' =&gt; 900],
              'timeout' =&gt; 900,
              'useCookies' =&gt; true,
          ],
  </code></pre>
  
  <p><code>frontend\config\main.php</code></p>
  
  <pre><code>'user' =&gt; [
              'identityClass' =&gt; 'common\models\UserCustomer',
              'enableAutoLogin' =&gt; false,
              //'enableSession' =&gt; true,
                'authTimeout' =&gt; 900,
          ],
          'session' =&gt; [
              'class' =&gt; 'yii\web\Session',
              'cookieparams' =&gt; ['httponly' =&gt; true, 'lifetime' =&gt; 900],
              'timeout' =&gt; 900,
              'useCookies' =&gt; true,
          ],
  </code></pre>
  
  <p>What should I do now? so I can implement session timeout if no activity in 15 minutes.</p>
  
  <p>Thanks in advance.</p>