simple login page and dynamically hiding controls based on session variable
问题 I think my question revolves around me not having a comfortable grasp of page life cycle in ASP.net still unfortunately. Ive read a lot but its a lot to take in, sorry! anyways im trying to make a super simple page as a proof of concept for what I will do across the entire site so first I will just post what I have: ASPX: <asp:Button ID="btnLogin" runat="server" Text="Login" onclick="btnLogin_Click" /> <hr /> <asp:Label ID="Label1" runat="server" Text="Regular User"></asp:Label> <asp:TextBox