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?
Answers were Sorted based on User's Feedback
Answer / vinesh gohil
we are using get, post ,session, cookie 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 server .
and cokkie same as session but cookie store at client
machine.
| Is This Answer Correct ? | 26 Yes | 2 No |
Answer / 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 |
Answer / mishra ashutosh
Hi techies..
There are 4 ways of sending data from one page to another.
as my friends have discussed above, namely GET,POST.COOKIE and SESSION.
Among four, cookie will work only when it is enabled in the browser. So its kind of browser setting dependent.
One more thing session id is also stored as cookie in file.
Plz Feel free to ask anything about php,mysql,js.
mishraa_007@rediffmail.com
| Is This Answer Correct ? | 0 Yes | 3 No |
Answer / rakesh kumar nautiyal
It can do this in two ways: either from the cache, or live
from Amazon.
Because Amazon requires developers to cache downloaded data
| Is This Answer Correct ? | 3 Yes | 15 No |
How can you insert javascript in php code?
I just installed php 5.3.1 in my linux server and now my old work which i used to write with tags is not working at all.. Please help me out.. How can i resolve this??
What are php string functions?
How to display your correct URL of the current web page?
What are the Merits and De-Merits of CURL library ?
Inside a php function, what param needs to be set in order to access a global variable?
How can we display information of a variable and readable by a human with php?
A process can run only in the background. State Whether True or False?
Write down the code for save an uploaded file in php.
Which library is used in php to do various types of image work?
Explain how you can update memcached when you make changes to php?
explain the changes in php version