Not sure about your scenario.
Just FYI.
When you add session time out in DD, meaning, all the sessions corresponding to the web app will expires the session based on the mentioned time interval.
If you use maxinactiveinterval() in
servlet code. meaning, that particular session will be expire after mentioned time out, where as still other sessions might be active.
Thanks,
Naresh