Update sessiontimeout.js

Only extend the session if you get an explicit 'true' response. Otherwise the session will get extended client-side if an error occurs server-side.
Merge pull request #2386 from chyne/patch-2

Update sessiontimeout.js