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
Is a number php?
What is the default time in seconds for which session data is considered valid?
What sized websites have you worked on in the past?
When are you supposed to use endif to end the conditional statement?
What is singleton class in php?
What is the basic function to search files for lines (or other units of text) that contain a pattern.
What are the functions of string?
How can we upload a file in php?
What are the different types of php variables?
What are access specifiers?
Tell me what types of loops exist in php?
What is the current stable version of php?
Does php pass arrays by reference?
Which php function will attach one file to another?
Differentiate between php5 and php7?