Ever came across a situation that demands a long lasting session, even if you have no activity on the client browser.
There is a pretty simple workaround for this problem. All you need to do is to call a page from server just before your session expires. This will simply refresh your session and it wil enter another cycle.
Now if you open a popup using Javascript (function scheduled with setInterval() or setTimeout()), the user may not feel comfortable. So you can have a blank page on server and call it though AJAX. For more details on AJAX, check http://vikramjits.blogspot.com/2007/09/ajax-with-html.html
Now, you need a function in your page that calls your ajax function (which inturn calls a blank page on server, and do not bother to populate it anywhere). This function is to be called every few seconds/minutes (based on the Session Timout Interval set in your application. Ideally you can set it to 30 seconds.
