Is it possible to know if the session of the client is ended or no

I don't have a (.asa) on my web site because the web server fournisser

doesn't accept it.

What I need

After 30 minute of logging I want the session to end ( or test if the

session is end) and redirect the client to a new page