what you can do is register a session listener.This does the same job. better.Create an implementation of this listener and register it on your web.xml.Regards,Sebastien Degardin
If you are talking about having the client check the session then the answer is no. An alternative is to use a JavaScript timer or a location refresh meta-data tag that is set for a time one or two minutes earlier that the session time out