2
First easy way..
you want just set the cookie session..
go to SYSTEM ADMIN ->PERFERENCE -> GENERAL SETTING
then look at Cookie Session..
set the time as much as u can... and the user won't auto log off for a time being..
If not.. just implement a hack "REMEMBER ME"
where the user will stay logon until he logout..