For the Admin page the login is reduced, if I remember right, for 1 hour if the tab is not in focus. This you can't change through a option.
For the normal forum login there is an option you can tick if you log in.
Keep me logged in or something similar to this. Can't say exactly how it is called since my forum has another language.