Author: austerus | Posted on: 1/4/2010 1:09:24 PM | Views : 407

Hello everyone!


I am a recent convert to ASP and a fairly total n00b, which means that though I've worked with web technologies for all my life, I have no idea how ASP handles them and I'm learning step by step so I beg for some patience as my many questions may be trivial.
For example, I've followed a couple of online tutorials on creating basic authentication via web.config, however I have run into some trouble. Here is my setup:
<script language="C#" runat="server"> public void Page_Load(object sender, System.EventArgs e) { // Put user code to initialize the page here } public void ProcessLogin(object sender, EventArgs e){ string username = txtUser.Text; string password = txtPassword.Text; if (FormsAuthentication.Authenticate(username, password)) { FormsAuthentication.RedirectFromLoginPage(username,chkPersistLogin.Checked); } else { E ...

Go to the complete details ...