In order to see the proper error you need to do what that is instructing and update your web.config.
Secondly, the solution to your problem is not to make a page that never times out as that is impossible, it would use up all your server's resources. The solution is to fix your code such that it doesn't error when the session times out. When you turn off custom errors you'll see the real problem, but I suspect you are doing things like
string user = Session["User"].ToString();
or something similar, ie assuming your session variables are always populated. What you need to do is update your code to check if the session variables exist or not, and if not do something that makes your site degrade gracefully. What that is depends on what your site is doing, you might want to make them re-login, or go back to the beginning of a certain process to gather the data again.