What will the following ASP script accomplish on a webpage?

What will the following ASP script accomplish on a webpage?
<%
Response.CacheControl = “no-cache”
Response.AddHeader “Pragma”, “no-cache”
Response.Expires = -1
if session(“UID”)=”” then
Response.Redirect “Logon.asp”
Response.End
end if
%>

What will the following ASP script accomplish on a webpage?
<%
Response.CacheControl = “no-cache”
Response.AddHeader “Pragma”, “no-cache”
Response.Expires = -1
if session(“UID”)=”” then
Response.Redirect “Logon.asp”
Response.End
end if
%>

A.
Redirect users to the logon page if they do not have a valid certificate

B.
Logged on users will timeout after hour

C.
Checks whether user has already logged on

D.
Checks the user’s cache for personal information

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *