First the Classic
I set this in my login script or alternativwly can be set in the Global.asa in the Session_OnStart Event
Session.Timeout = 120 -- 120 being the number of minutes.
sub Session_OnStart
'120 minutes
Session.Timeout = 120
end sub
Now ASP.NET
Via Web Config
<sessionState timeout="60" />