I am redirect user to loging page when session expires. Login.aspx is in root.
I declared path like this in web.config file.
<forms name=".FormsAuth" loginUrl="~/Login.aspx" protection="All"
slidingExpiration="false" requireSSL="false" >
It is working for all root .aspx pages. But it not working for sub folders pages like Reporting\report.aspx.
So how to manage redirect page (Login.aspx) for root .aspx pages and sub folder .aspx pages?
Check your config. It seems to me that your tag Forms is not closed properly.
If you have these 2 sections it must work:
You can find a sample app here.