i am working on a web apps. i have a login.ascx file and a loggedin.ascx file. when i have successfully logged in (using the login.ascx user control) i would want the loggedin.ascx usercontrol to load in.... both usercontrols will be loaded into the same page....
what i am not too sure about is where to put the code for validating the password and username...will i put it in the usercontrol itself or the implementing page ie the page where i put the usercontrols ???
any tips/ code samples would be really appreciated