Which of the following changes will make this code function properly?
Given the following ASP code:
<&
Function myFunction()
GenPass=strTemp
Dim fs
Dim strTemp
Set fs = CreateObject(“Scripting.FileSytemObject”)
strTemp = fs.GetBaseName(fs.GetTempName)
strTemp = Right(strTemp, Len(strTemp) -3
Set fs = Nothing
End Function
%>
Which of the following changes will make this code function properly?
What is the name of this property?
One of the properties of the Response object indicates a date and time when the browser should
remove the page from cache and reload.
What is the name of this property?
which set of delimiters?
Your Web server is using the default delimiter for ASP coding.
ASP scripting in your script files should be indicated by which set of delimiters?
What is the name of this method?
One of the methods of the Response object sends all information in the buffer to the user.
What is the name of this method?
what mode will the file be opened?
Mario uses the following PHP function to open his text file:
($file 1 = fopen(“MarioDATA.txt”, “r”));
In what mode will the file be opened?
which character?
The name of an associative array or hash begins with which character?
Why is the ActiveX object being used?
Consider the following code:
<%
DimloConn, lsSQL, loRs
Set loConn = CreateObject(“ADODB.Connection”)
loConn.Open(“DSN=myDSN;UID=something;PWD=Something;”)
lsSQL = “INSERT INTO tMembers (MemberName) VALUES (‘Manohar’);” &_
“SELECT @@IDENTITY AS NewID;”
Set loRs = loConn.Execute(lsSQL)
Set loRs = loRs.NextRecordSet()
IIID = loRs.Fields(“NewID”).value
loConn.Close()
Set loConn = Nothing
%>
Why is the ActiveX object being used?
Which one of the following variables is used if no variable was specified in a pattern match, substitution ope
Which one of the following variables is used if no variable was specified in a pattern match,
substitution operator or print statement?
Which one of the following choices best describes CGI wrappers?
Which one of the following choices best describes CGI wrappers?
Which one of the following choices best describes how to load a list of database tables into an array?
Which one of the following choices best describes how to load a list of database tables into an
array?