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


Please Help Members By Posting Answers For Below Questions

Explain Booleans in PHP?

846


What is static method php?

736


How to call php function from javascript using ajax?

699


How to remove the new line character from the end of a text line in php?

734


Is it possible to extend the execution time of a php script?

731


What is a controller in php?

748


List some string function name in php?

712


Is php a programming language?

765


Are there regular expressions in php?

665


How to remove duplicate values from a PHP Array?

755


How many types of inheritances used in php and how we achieve it.

692


How can MYSQL functions be available with PHP?

756


What is the array in php?

751


How do I debug php?

714


What is the role of php.ini file?

757