Is there a way to make ASP page update in real time, like Ajax?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’ll give you a brief summary of ASP & AJAX to help you understand the difference between these two technologies.
ASP
ASP is a server-side language. Like it’s cousins: Python, Ruby, PHP. It is used to generate dynamic content on the server, and then pass it along as HTML to the client’s browser. ASP cannot “update” anything in realtime, as it cannot connect to a client of it’s own accord to make an update. Each update/response from your ASP server must be in response to a request from the client.
AJAX
AJAX stands for Asynchronous Javascript And XML. It is not a language in and of itself. The language here is Javascript, which is primarily a client-side language. AJAX functions by the javascript running on the client machine sending a “special” request (XMLHTTPRequest) to your server, and receiving a response. Javascript then uses this response to update the page dynamically.
That said, you should study up on both Javascript and ASP before you begin attempting to create something. AJAX is somewhat of an advanced topic. As mentioned previously http://asp.net/ajax is a good resource.