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



What are the different methods of passing data or information between two calls of a web page? Wha..

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

What are the different methods of passing data or information between two calls of a web page? Wha..

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

What are the different methods of passing data or information between two calls of a web page? Wha..

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

What are the different methods of passing data or information between two calls of a web page? Wha..

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

Post New Answer

More PHP Interview Questions

How to move uploaded files to permanent directory?

0 Answers  


What is local variable in php?

0 Answers  


What the difference between the 'bitwise and' operator and the 'logical and' operator?

0 Answers  


Tell me what are the encryption techniques in php?

0 Answers  


How the values are ordered in an array?

0 Answers  






How to redirect https to http url and vice versa in .htaccess?

0 Answers  


Where is php code written?

0 Answers  


What are the different opening and closing tags available in PHP?

0 Answers  


Is it difficult to learn php?

0 Answers  


What is isset post?

0 Answers  


What is the difference between Joomla and Drupal?

8 Answers   IBM, Procon IT Solutions, T3 Softwares,


Binary tree question - Node has numeric data (int) The function takes depth as argument and sum all the value of the node of the depth. For instance, (0) depth 0 / \ 10 20 depth 1 / \ / \ 40 50 60 70 depth 2 so if you pass get_sum(2), you would return 220 which is 40+50+60+70 (sum of depth2) write the function.

0 Answers   Amazon, FGD,


Categories