Yes - you can use an LWP based application (i suggest using
WWW::Mechanize) to login and refresh the page every 10 minutes or so. You need to store the login cookies in your browser cookie store. This is either a text file in the case of Mozilla, Firefox etc. or an individual file in the cookies directory specified by Internet Explorer.
The LWP library has a number of Cookie Jar subclasses to support the main cookie store formats. The trick is to subclass the cookie jar to write out session cookies (that have no expiration time) such that they expire at some point in the future E.g. later today.
This is something that I do on from time to time to test an automated login for website indexing. I wouldn't suggest that you do this on a regular basis. Read the comments from the other monks about potential issues with this approach. You may wish to restate the problem so we can help you find a better solution.