What is wrong with the following code:
<%afname="header.asp"%><!?#include file ="<%=afname%>"?>
Answer Posted / pankajbisane
Will not work because ASP executes the #include directive
before it assigns a value to the variable.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the purpose of folders object of scripting.filesystemobject class in vbscript?
Mention what is the difference between vbscript and vba?
What aspects of vbscript make it safe so that a web page using vbscript cannot destroy or corrupt information on a user's computer?
Explain about vb script?
What is the scope of a constant declared using public?
How will you compare two strings in vbscript?
Write a code to print numbers from 5 to 0?
Explain the tristate constants in vbscript?
When to use function procedures and what are its characteristics?
Mention the rules for using option explicit statement?
Which command is used for writing text on a page?
What is the use of option explicit in vbscript?
Mention what is byref and byval parameters in vbscript?
What is the use of option explicit statement?
How are values assigned to the variables in the vbscript language?