-
User Input Data Validation
Should user input data validation occur server-side or client-side? Why?
-
What is the difference between client-side script and server-side script?
Scripts executed only by the browser without contacting the server is called client-side script. It is browser dependent. The scripting code is visible to the user and hence not secure. Scripts executed by the web server and processed by the server is called server-side script.
-
How Many Types of Cookies
A. 3 B. 2 C. 1 D. 4
-
Explain the POST & GET Method or Explain the difference between them.
POST METHOD: The POST method generates a FORM collection, which is sent as a HTTP request body. All the values typed in the form will be stored in the FORM collection. GET METHOD: The GET method sends information by appending it to the URL (with a question mark) and stored as A Querystring collection. The Querystring collection is passed to the server as name/value pair. The length of the URL should...
-
-
IsClientConnected is a property of
A. Server B. Response C. Request D. Session
-
Sending SMS via ASP.NET
how do i send sms's via the program I created using asp.net,or if somebody knows what tolls do i need to create a web application that sends sms's
-
What is a variable?
Variable is a memory location through which the actual values are stored/retrieved. Its value can be changed.
-
What are the ASP Scripting Objects?
The Dictionary object, the FileSystemObject object, TextStream object.
-
What are Scripting Objects?
Objects that can enhance the application are known as the Scripting Objects.
-
What is an .ASP file?
It is a Text File that contains the combination of the following: • Text • HTML tags • Script Commands
-
How can you disable the browser to view the code?
Writing codes within the <! -- //-- > Tag.
-
How can you change the primary scripting language for a page?
Specify <%@ LANGUAGE = Scripting language %>
-
What is HTML(Hypertext Markup Language)?
It’s a method by which web pages can be built and generally used for formatting and linking text.
-
How are scripts executed?
ASP provides scripting engines that execute the corresponding scripting languages on the server side. Scripts should be encoded within the <%…. %> Delimiters.
-
How does the server identify and execute the server-side scripts within HTML code?
• Including the RUNAT=SERVER attribute in the < SCRIPT > tag • Use < % … % > server script delimiter
-
Give the comment Tags for the following:
VBScript : REM & ‘(apostrophe) JavaScript : // (single line comment) /* */ (Multi-line comments)
-
What are the browsers that can access ASP pages?
• Internet Explorer (supports VBScript, JavaScript) • Netscape Communicator/ Navigator (supports only JavaScript, VBScript can be also added too)
-
Naming constraints for a variable.
It can be up to 255 characters Must start with an alphabet Must not contain an embedded period or full-stop
-
What are the properties used to control the expiration of the page?
• Expires – specifies the number of minutes before a page cached on a browser expires. • ExpiresAbsolute – sets the date and time at which a page cached on a browser expires.
ASP Interview Questions
Ans