I'm new to web development. I have a login.aspx page that has an Asp.Net login control on it. When the users logs in and it successfully authenticates, the page automatically redirects to default.aspx. I assume this is some kind of default behavior?
But, I actually need the login information from the login page in default.aspx.cs. How do I get this information from that context?
In addition, I'm not always going to count on the user successfully logging in with the login control-- If I want to redirect to default.aspx without a login event occurring, how can I do that while also passing the login information being used?