Using server-side scripting (PHP, ASP, ASP.NET, Cold Fusion, JSP, etc.) to indicate the initial time on the page for Javascript to work with, you can make a link that will expire whenever you want. However, anyone with Javascript turned off wouldn't be limited to your time out period.
Lee