cs
|
| Posted: 03/23/2003, 3:40 AM |
|
i need to do a project using asp
but the requirement is "any self-build URL for entering the system directly must be rejected"
should i use session or other method to do that??????
can i use cookie??
Can any one tell me what can i do for it
thanks a lot
|
|
|
 |
Deryl
|
| Posted: 03/24/2003, 12:18 PM |
|
Normally that means at the top of each of your ASP pages, check for a session or cookie value that verifies that login has occurred. If the value is incorrect then redirect to the login page.
For example:
<% if session("Valid")="" then
response.redirect("login.asp")
end if
%>
|
|
|
 |
|