This is a simple tutorial on how to create a simple secured website with the use of Session variables in ASP.Net. It will also demonstrate some of the basics of an ASP.Net page
With Visual Web Developer Express, create a new Website. Click on the Website Menu from the Menu Bar and add two more Webforms (ASP.Net pages) that do not use the code behind technique. Name the first one as login.aspx and the other one as mainpage.aspx. You can then remove the default.aspx and its vb code file from the solution explorer. With this, we simply mean, we are not going to use the code behind method in our application. (more…)