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


Please Help Members By Posting Answers For Below Questions

What should be the length of variable for SHA256?

751


How can I use single quotes in single quotes in php?

684


What is difference between session_unset and session_destroy?

733


What is the best way to avoid email sent through php getting into the spam folder?

786


What is serialization in php?

700


What is use of htmlspecialchars php?

751


How to upload file in php?

767


What is use of echo in php?

710


What is get method in java?

734


what is the current salary package in India for a PHP programmer who has 1.5 years experience

2707


How to make horizonatl menu and vertical menu responsive

2080


How do you remove duplicates from an array?

858


What was the old name of php?

1173


What Is a Persistent Cookie?

815


Why shouldn't I use mysql_* functions in php?

798