does anyone have a simple and elegant (or not so simple and elegant) way to test for whether a session is idle for some predetermined (e.g. globally defined or hard-coded) amount of time? i am trying to implement a routine where after 5 minutes, for example, the current user will be logged off and a default "login" user (with minimal privileges) will be logged in. this will leave the file constrained to a "login" layout and not allow any other activity other than logging in (based on the "login" privilege set). any thoughts much appreciated. thanks.