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 are the encryption functions in php?
How would you determine the size of a file in php?
What is php7?
How to access a global variable inside a function?
What is the use of htmlspecialchars in php?
What is mvc in php?
What is difference between Method overriding and overloading in PHP?
Explain php split() function.
What is variable declaration?
Does session expire on closing browser?
What is the purpose of using php?
How can you retrieve a cookie value?
What is the goto statement useful for?
Which is incorrect with respect to separating php code and html?
How can I display text with a php script?