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 Advantages and Application Areas of PHP?
What is composer used for?
What is framework in php for beginners?
Do you know what does mvc stand for and what does each component do?
What is the difference between query and inquiry?
What is the function mysql_pconnect() useful for?
What is PECL?
Which is better php or wordpress?
How can we define a variable accessible in functions of a php script?
What is the purpose of the '.frm' file extension? What do thes file contain?
How to redirect https to http url through .htaccess?
What is the function of string in c?
How to execute an sql query? How to fetch its result?
How to support multiple-page forms?
Explain the casts allowed in PHP?