After logging in to "ReturnUrl" in the web application, the last page visited will appear. How to set default.aspx.
I declared the code in the web.config file as follows.
<forms name="FormsAuth" loginUrl="Default.aspx" defaultUrl="Default.aspx" path="/" timeout="200" slidingExpiration="true">
But if I close the application on the page /Private/Admin/ReviewIssue.aspx .
When I run the application again on the login page, the URL is as follows
http://localhost:3042/Test/Default.aspx?ReturnUrl= %2fPrivate%2fAdmin%2fReviewIssue.aspx
I want the login page only by default .aspx.
James123
source share