Yes you are right. My main objective is to provide an alert message for the user just 5 minutes before session timeout occurred. Here my approaches goes like these
2. As the code given before i like to monitor the activity of the frame so that i can give the alert message if no activity is performed for some predefined time.
Can you please provide me the suggestions if any regarding either of the above techniques to implement the process.