title: Session will not get time out because of scheduler
body: <p>I've developed an application in Spring MVC and Hibernate. In that I've used a security filter for checking session timeout. If the session is null then the filter redirects the current page to login page. And I've also added a <strong>scheduler</strong> that runs every minute for sending <strong>emails</strong>. So my problem is that the session will not be null at any point. Is there a way to make the session null after 10 minutes?</p>