Change the duration time for the portal timing out a user session (Portal auto logs user out)
Find the following tag in the web.config, usually located here-
<forms slidingExpiration="true" timeout="20" />
Change the timeout tag to the desire timeout in minutes (default is 20 min.)
Note: This only works on a Forms Authenticated portal!