Capture "ReturnUrl" for redirection
<p>I am using Forms Authentication. When my Form timesout I get the URL: </p>

<pre><code>http://XXXXXX/login.aspx?ReturnUrl=%2fSessionExpired.aspx
</code></pre>

<p>Is there a way to say if url contains "ReturnUrL" redirect to sessiontimeout.aspx?
I have tried putting this in my global.asax but it does not work. It still goes to:
<code>http://XXXXXX/login.aspx?ReturnUrl=%2fSessionExpired.aspx</code>, which is my login page.</p>

<p>Please help.</p>
