Hi all,
I have a problem/question regarding securing an asp system.
Basically a user logs in and enters a customer concern which gets inserted into the database and the link to this concern is sent to the quality manager via email.
The quality manager then clicks the link and appears the concern. What i want to do is force the manager to login before it shows them the concern.
I already have a login page which verifies against a database.
the code i have been using on other pages to check if they have logged in:
If Session("userLevel") < 1 then
Response.Redirect("../register.asp")
Else
If Session("userLevel") ="" then
Response.Redirect("../register.asp")
end if
end if
If the manager just clicks a link obviousley he wont have a userlevel and therefore wont be able to view the page. Hopefully someone can understand what i want.
Anyone got any ideas?
Mark
I have a problem/question regarding securing an asp system.
Basically a user logs in and enters a customer concern which gets inserted into the database and the link to this concern is sent to the quality manager via email.
The quality manager then clicks the link and appears the concern. What i want to do is force the manager to login before it shows them the concern.
I already have a login page which verifies against a database.
the code i have been using on other pages to check if they have logged in:
If Session("userLevel") < 1 then
Response.Redirect("../register.asp")
Else
If Session("userLevel") ="" then
Response.Redirect("../register.asp")
end if
end if
If the manager just clicks a link obviousley he wont have a userlevel and therefore wont be able to view the page. Hopefully someone can understand what i want.
Anyone got any ideas?
Mark