GeekInterview.com
Series: Subject: Topic:

ASP Interview Questions

Showing Questions 1 - 20 of 147 Questions
First | Prev | | Next | Last Page
Sort by: 
 | 

What are scripting objects?

Asked By: Interview Candidate | Asked On: Sep 12th, 2004

Objects that can enhance the application are known as the scripting objects.

Answered by: Sandhya.Kishan on: Apr 16th, 2012

Scripting objects provide access to the functionality of the software components.These are the objects which are used for enhancing a certain application.

What are the asp scripting objects?

Asked By: Interview Candidate | Asked On: Sep 12th, 2004

The dictionary object, the filesystemobject object, textstream object.

Answered by: Sandhya.Kishan on: Apr 16th, 2012

The ASP scripting objects are
*Folder object
*File object
*Drive object
*Dictionary object
*FileSystem object and
*TextStream object.

What is a variable?

Asked By: Interview Candidate | Asked On: Sep 12th, 2004

Variable is a memory location through which the actual values are stored/retrieved. Its value can be changed.

Answered by: Sandhya.Kishan on: Apr 9th, 2012

To store information we use variables.
A variable declared inside a procedure is created and destroyed every time a procedure is executed.
A variable declared outside can accessed and changed by any scrips in the ASP file.
There are two types namely session variales and application variables.

Sending sms via ASP.Net

Asked By: bhekanani | Asked On: May 4th, 2008

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

Answered by: madhu on: Feb 8th, 2012

we added web reference to sendsmsworld.asmx in webservicesx . namespace is system.web.services; system.net.mail; btncode: sms sm=new sms string Str11 = txtTo.Text; string[] str = Str11.S...

Answered by: inform2usman on: Jun 1st, 2009

Use mCore library use its distributed licence key that is available on net and mind it using of that key is not piracy. there will be manual read it and use the mcore to send SMS using GSM modem and m...

Isclientconnected is a property of

Asked By: Interview Candidate | Asked On: Sep 12th, 2004

A. Server b. Response c. Request d. Session

Answered by: ruchi singh on: Dec 20th, 2011

B. Response object

Answered by: nitish108 on: May 7th, 2010

B. Response

What is the difference between thread and session

Asked By: abhijeet7 | Asked On: Dec 5th, 2011

Answered by: kewarren52 on: Dec 19th, 2011

A Session relate one-to-one with clients (more or less -- arguments can be made that a client can have more than one session). Threads on the other hand are just workers that process requests with no affinity towards any particular session.

How many max cookies can we create in server?

Asked By: Interview Candidate | Asked On: Mar 15th, 2005

A. 10 b. 20 c. 30 d. 40

Answered by: Neha Pangtey on: Dec 10th, 2011

Cookies cant create server side because its store client side information. And its not safe method because if client doesnt want to store information then he can delete the cookie. Its depend on client that whether he want to store cookie or not.....

Answered by: Mayilavan on: Aug 23rd, 2011

20

Explain the post & get method or explain the difference between them.

Asked By: Interview Candidate | Asked On: Sep 12th, 2004

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....

Answered by: akshaya on: Sep 24th, 2011

if there is a client and server performs an operation the server that GET the request from client. The client that POST or sends the request to the server.

Answered by: naveen on: Oct 11th, 2007

getmethod uses the querystring to pass the data to the server so it appends data to the url so it is not secured one whereas post method differs from it it is passed to the server through the form collection

How many types of cookies

Asked By: Interview Candidate | Asked On: Aug 29th, 2005

A. 3 b. 2 c. 1 d. 4

Answered by: Mayilavan.M on: Aug 23rd, 2011

(1) Session Based which expire at the end of the session.
(2) Persistent cookies which don't expire(Stored in your hard disk).

Answered by: lakshmi on: Jul 27th, 2011

1.in memory cookies
2.persistent cookies

What is the difference between client-side script and server-side script?

Asked By: Interview Candidate | Asked On: Sep 12th, 2004

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.

Answered by: pinniboina nagaraju on: Jul 16th, 2011

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.

Answered by: rojaramani on: Aug 2nd, 2008

Server side script which avoids manual coding by using server side controls. It makes developer job easier. In client side script when developer writes the manual code to develop the application ...

User input data validation

Asked By: motionbreaker | Asked On: Sep 16th, 2008

Should user input data validation occur server-side or client-side? Why?

Answered by: rammaya on: Nov 23rd, 2010

Input data validation is Server side validate, not client side. what we give any input data,  run server side.

Answered by: Krishanbhardwaj on: Nov 23rd, 2009

The user input data validation will on the client side becouse when validate on the server-side  user input can be wrong  as well as take much time to execute by server.

What should be used in order to determine if the cookie "favoriteflavors" in the request object contains more than one entry?

Asked By: Interview Candidate | Asked On: Jul 29th, 2005

A. Request.Cookies("favoriteflavors").Hasitems b. Request.Cookies("favoriteflavors").Collection.Count c. Request.Cookies("favoriteflavors").Dictionary d. Request.Cookies("favoriteflavors").Haskeys e. Request.Cookies("favoriteflavors").Count

Answered by: phanikumar009 on: Jul 15th, 2010

B. Request.Cookies("FavoriteFlavors").Collection.Count

Answered by: jenny on: Jul 29th, 2005

request.Cookies("FavoriteFlavoers").HshKeys

What is session object?

Asked By: Interview Candidate | Asked On: Sep 12th, 2004

It stores information about a user’s session. Gives a notification when a user session begins or ends.

Answered by: samieswaran on: Jun 28th, 2010

Session objects give us the power to preserve user preferences and other user information when browsing a web application.

Answered by: Rajkumar on: Nov 8th, 2006

By using session object we can maintaing the state of the data which is helpful for maintaining the session(i.e to keep track of the information of the same client during the consecutive visits of the...

What is a session?

Asked By: Interview Candidate | Asked On: Sep 12th, 2004

A user accessing an application is known as a session.

Answered by: samieswaran on: Jun 28th, 2010

A session is the time for which a particular user interacts with a web application. During a session the unique identity of the user is maintained internally. A session ends if there is a session timeout or if you end the visitor session in code.

How will you set the values for cookies?

Asked By: Interview Candidate | Asked On: Sep 12th, 2004

<% response.Cookies("variable name ")="value" %>.

Answered by: samieswaran on: Jun 28th, 2010

Request.Cookies.Add(New HttpCookie("name","user1"))

Answered by: article on: Feb 11th, 2010

Response.Cookies["userName"].Value = "xyz";
Response.Cookies["userName"].Value =TextBox.Text;

Application variable

Asked By: mogalemd | Asked On: Jul 14th, 2009

What happens when a client submits a form which changes the value of an application variable a. Client actions cannot change application variables. B. The change is not visible to any client until the application is stopped and started. C. The change is only visible to future requests made by that client...

Answered by: Webman on: Jun 5th, 2010

"E" is the correct answer!



"ALL users share ONE Application object"



If one user changes an application variable, all other users in all other sessions with see that change, not just the user making the change.

Answered by: santodip on: Nov 8th, 2009

C is the correct answer

What are the difference between serialize and marshalbyref and marshalbyval?How will you load dynamic assembly?How will create assembilies at runtime ?If you have more than one version of one assemblies...

Asked By: narayan | Asked On: Aug 1st, 2007

Answered by: ramu kundur on: Oct 2nd, 2009

No. The idea of MarshalByRefObject is that it doesn't every get serialized for remoting purposes. Instead the CLR generates what is known as a transparent proxy in this scenario. It's called T...

Which of the following are server object methods ( choose two)

Asked By: Interview Candidate | Asked On: Jul 5th, 2005

A. HTMLencode,mappath b. Urlencode,scripttimeout c. Urlencode,createobject d. Scripttimeout,abandon

Answered by: anikadrib on: Nov 20th, 2008

Server.URLEncode
Server.HTMLEncode

Answered by: Muthu on: Mar 22nd, 2007

these are server object  properties:-

server.CreateObject()
server.Execute( )
server.GetLastError()
server.HTMLEncode()
server.MapPath()
server.ScriptTimeout()
server.Transfer()
server.URLEncode()

so A,B,C is the Correct Answer

What is the program id (progid) for activex data objects in 2-tier and 3-tier database applications?

Asked By: Interview Candidate | Asked On: May 28th, 2005

A. ADO b. Rdodb c. ADOdb d. Rds e. Oledb

Answered by: rufusgeorge on: Oct 3rd, 2008

C. ADODB

Answered by: Vishu on: Sep 29th, 2005

ADODB

What is the function of buffer in response object?

Asked By: Interview Candidate | Asked On: Sep 12th, 2004

Buffer controls the HTML output stream manually.

Answered by: johnanvert on: Sep 29th, 2008

The Buffer property specifies whether to buffer the output or not. When the output is buffered, the server will hold back the response to the browser until all of the server scripts have been processed, or until the script calls the Flush or End method.

Answered by: lalita.p on: Jun 7th, 2007

Respose.buffer=False/True

Buffer is used to send the information to the browser.

First | Prev | | Next | Last Page

 

 

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Career Counselling

 Have Career Question?

 Ask Chandra

 Ask Only Career questions.

Follow us:
 

Latest Questions

Ads

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, click "Subscribe".