Ok, thanks kiran.
But also I wanted to know the programming aspect of it. That means how this is controlled and why different sites have different durations for timeout.
Time out sessions are included due to security reasons. I know a code that can control this timeout session, but can't post them. That will be against the forum rules. All I would like to say is it's better you use "Remember me" option and "Log-out" while leaving. That would be much safe.