What is the difference between client-side script and
server-side script?
Answers were Sorted based on User's Feedback
Answer / guest
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.
| Is This Answer Correct ? | 91 Yes | 12 No |
Answer / neha mittal
client side take less time to execute since it execute at
client before it go to server whereas server side scripting
take more time b'coz it required to send the request to
server for execution .client side can be disable wheras
sever side can't be disable by end user.
| Is This Answer Correct ? | 43 Yes | 7 No |
Answer / abc
if the validations take place at client side,then such type
of scripting languages are called client side scripting
languages.Eg:javascript,vbscript
if the validations take place at server side,then such type
of scripting languages are called server side scripting
languages.Eg:Jsp,ASP,ASP.NET
| Is This Answer Correct ? | 27 Yes | 4 No |
IN A SERVER SIDE SCRIPTING LANGUAGE THE BROWSER WILL FIRsT PLACE THE REQUSET FOR THAT FILE(one.jsp or one.php) TO THE WEBSERVER. IF THE FILE FILE IS PRESENT IN THE SERVER(FOR EXAMPLE IN CASE OF APACHAE WEB SERVER IF THE FILE IS PRESENT
IN htdocs FOLDER)IT WILL SEND THAT FILE TO THE JSP OR PHP ENGINE DEPENDING ON THE FILE EXTENSION FOR PROCESSING.THE OUTPUT OF THIS PROCESSING IS IN BROWSER UNDERSTABLE FORM. APACHAE WILL PUT THIS IN A temp FILE AND PASS IT TO THE BROWSER.THE BROWSER WILL INTERPRET IT AND WE GET THE FINAL OUTPUT IN OUR SCREEN.
IN A CLIENT SIDE SCRIPTING LANGUAGE LIKE JAVASCRIPT MOST OF THE MORDERN BROWSERS COMES WITH BUILT IN JAVASCRIPT INTERPRETER WHICH PROCESSES THE CODE AND GIVES THE OUTPUT. DURING PROCESSING OF A CLIENT SIDE SCRIPTING LANGUAGE THE SERVER IS NOT INVOLVED.
| Is This Answer Correct ? | 5 Yes | 9 No |
Explain the difference between inline and code behind.
What is the difference between Cookies collection and Form/Querystring collection?
What is an err object?
What is the difference between html and asp?
How to determine if a visitor has cookies support enabled in his/her browser?
Explain the difference between the value-type variables and reference-type variables?
What are the different types of html?
Explain the post & get method or explain the difference between them in asp?
what is execute dataset for sp
Can we Use VB SCRIPT instead of JAVASCRIPT in Asp.Net...
How do in-process and cross-process communication work in the common language runtime?
In how many ways you can connect to the Database?