Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If Session("Role") = "Admin" Then Else Response.Redirect("Default.aspx") End If End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.