I have been trying to set the default url but it is not redirecting to the page that I want. The defaultUrl="admin/Home.aspx" is keeping redirecting back to the login.aspx can someone please help?
Below is the code i am doing in the web.config
<authentication mode="Forms">
<forms loginUrl="~/Login.aspx" timeout="20" defaultUrl="admin/Home.aspx" />
</authentication>
the url after being redirected is as follows
/Login.aspx?ReturnUrl=%2fadmin%2fHome.aspx
what do the %2f mean?
Thanks