How to get file name of any page regardless of URL?
<p>I would like to force SSL on certain pages around the site, like for login, registration etc. by specifying a string array and checking whether the current URL fits a certain criteria in a custom HttpModule. 
It works well, as long as the URL correctly reflects the page, however I use routing tables, so some requests I point to login page, if a page requires login, and I end up with a login page on the screen and with an URL for members' area. 
Is there a way to find the actual file name of a page? </p>

<p><b>Example:</b><br>
<a href="http://www.mysite.com/login" rel="nofollow">http://www.mysite.com/login</a> - file name is login.aspx, which is not reflected by the url. 
<a href="http://www.mysite.com/members" rel="nofollow">http://www.mysite.com/members</a> - file name is still login.aspx if a user is not logged in.</p>
