What are the different methods of passing data or
information between two calls of a web page? What are the
advantages/disadvantages of these methods?
Answer Posted / gunjan patel
we are using get, post ,session, cookie, request method for
passing
data. in get method it pass data through url. and post
passes data through hidden variable. and in session we
create session variable these variable store on client
machine and Only SESSION ID stores on server.
and cokkie same as session but cookie store at client
machine.
Request method is same as get method. we use request method
for sending variables using href in <a> tag, or in
Javascript using document.location.href .
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
What is difference between session and cookie in PHP?
What does empty mean in php?
What is the use of limit in mysql?
What is the role of the .htaccess file in php?
How to terminate the execution of a script in PHP?
Code to open file download dialog in PHP?
Explain php parameterized functions.
What is the use of get and post method in php?
What are the three classes of errors that can occur in php?
What is a model in php?
How to increase the maximum execution time of a script in php?
Differentiate between require and include?
How is a session id generated?
Difference between array_combine and array_merge?
Which is useful for method overloading?