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
Explain Booleans in PHP?
What is static method php?
How to call php function from javascript using ajax?
How to remove the new line character from the end of a text line in php?
Is it possible to extend the execution time of a php script?
What is a controller in php?
List some string function name in php?
Is php a programming language?
Are there regular expressions in php?
How to remove duplicate values from a PHP Array?
How many types of inheritances used in php and how we achieve it.
How can MYSQL functions be available with PHP?
What is the array in php?
How do I debug php?
What is the role of php.ini file?