no, the server has absolutely no knowledge of the location in the frameset of the page it is currently processing. This sort of things you have to take care of in the browser -> client side
You can't determine a Session.Timeout from the client-side. What you CAN do is start a timer in javascript when the page is loaded... and if that timer gets to 20 minutes (assuming you're using the default Session.Timeout), break out of frames at that point, and replace the window.location with whatever you want, instead of trying to redirect server-side.
Trying to redirect on the server will not work, since the client has not requested anything from the server.
If they did, then the session would not time out, since Session.Timeout would be reset.
I hope that makes sense, but that's really the wrong way to go about the whole thing... probably you want to present them with a new page if they make a request to the server after the session has timed out.
__________________
Former ASP Forum Moderator - I'm back!
If you can teach yourself how to learn, you can learn anything. ;)