Hi,
Does anyone have a good example of how to secure a website with classic asp?
At the moment I have 3 pages:
loginform.asp, login.asp and welcome.asp
loginform.asp is a basic html form with username and password boxes.
login.asp loops through my username and password table and if it finds a row where the username and password are the same as the form submitted then I Response.Redirect("welcome.asp")
The problem at the moment is there is nothing to stop someone typing in and viewing the page thereby circumventing the login process.
I've got a feeling it's something to do with session variables but don't really know where to start looking.
Thanks very much
Ed
Does anyone have a good example of how to secure a website with classic asp?
At the moment I have 3 pages:
loginform.asp, login.asp and welcome.asp
loginform.asp is a basic html form with username and password boxes.
login.asp loops through my username and password table and if it finds a row where the username and password are the same as the form submitted then I Response.Redirect("welcome.asp")
The problem at the moment is there is nothing to stop someone typing in and viewing the page thereby circumventing the login process.
I've got a feeling it's something to do with session variables but don't really know where to start looking.
Thanks very much
Ed