I am using Map Network Drive in Windows Explorer to add a Sharepoint folder. This link is supposed to be valid for the lifetime of the security token that Sharepoint returns. When the token expires, the only way to access the mapped drive is by re-logging on to Sharepoint. Is there a way to refresh the token pre or post expiration that avoids this re-logon step, say through a console app that a user can run?
You can try several approaches.
Check this
http://blogs.southworks.net/fboerr/2011/04/15/sliding-sessions-in-sharepoint-2010/
http://jasear.wordpress.com/2011/01/10/sharepoint-2010-set-session-timout-on-a-fba-enabled-site/