Ajax INTERVIEW QUESTION & ANSWERS
26. |
Is AJAX a programming language? |
|
No |
27. |
What are the names of the sequence of events in the page life cycle? |
|
The sequence of events that occur in the page life cycle are as follows :
- Page_Init
- LoadViewState
- LoadPostData
- Page_Load
- RaisePostDataChangedEvent
- RaisePostBackEvent
- Page_PreRender
- SaveViewState
- Page_Render
- Page_UnLoad
|
28. |
Which request is better with AJAX, Get or Post? |
|
AJAX requests should use an HTTP GET request while retrieving data where the data does not change for a given URL requested. An HTTP POST should be used when state is updated on the server. This is in line with HTTP idempotency recommendations and is highly recommended for a consistent web application architecture. |
29. |
What are the alternate ways of achieving Ajax functionalities without using an XMLHttpRequest object? |
|
There are several ways of achieving Ajax-style applications without using the
XMLHttpRequest object, such as IFrames, Flash, Cookies, and so on. |
30. |
Can AJAX technology work on web servers other than IIS? |
|
Yes, AJAX is a technology independent of web server the web application is hosted on. Ajax is a client (browser) technology. |