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
How can we encrypt the password using php?
Write a statement to show the joining of multiple comparisons in php?
How long do php sessions last?
How to convert one date format into another in php?
What is the function used to change the root directory in PHP?
What is php and how do you use it?
How to declare an array in php?
How to create a session? How to set a value in session? How to remove data from a session?
How to make a class in php?
What is the difference between characters 34 and x34?
What is meant by ‘passing the variable by value and reference' in php?
Tell me what are the correct and the most two common way to start and finish a php block of code?
Can I use php in html?
What is difference between print_r and echo in php?
How to pass an argument to a function?