I have put my Default.aspx in a folder and now when I login with a user it redirects me to the Default.aspx in the root folder (which doesn’t exist) so I get a resource not found error. Also when I do log out I just get redirected to the root folder.
How do I fix this so I get redirected to the proper location?
I have put my Default.aspx in a folder and now when I login with
Share
If you are using the built in asp.net Membership authentication, then within your web.config, there will be a section which allows you to specify the
defaultUrlwhich is as the defaultRedirectafter Log In or Log Out.Alternatively, you can use
Response.Redirectto specify the page within your code.