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 / vinesh gohil

we are using get, post ,session, cookie 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 server .
and cokkie same as session but cookie store at client
machine.

Is This Answer Correct ?    26 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of return in php?

686


What is user defined function in php?

768


What is singleton design pattern in php?

749


How to get length of an array in PHP?

770


What is difference between html and php?

720


Tell me how would you declare a function that receives one parameter name hello?

755


What is scope of variable in php?

817


How to do single and multi line comment in php?

760


Tell me what is the difference between exception::getmessage and exception::getline?

711


Explain difference between urlencode and urldecode?

770


What does $globals mean?

741


What is $_ get in php?

797


Does php have a future?

728


How to reset/destroy a cookie in php?

744


What is the output of the following php code?

684