What is the different between cookies and session in php?

Answer Posted / shivani modi (msc.cs)

A cookie is a small information that retained on the client
machine, either in rthe browser's application memory or as
a small file written to the user's hard disk.It contains
aname/value pair-
setting a cookies means associating a value with a name and
storing that pairing on the client side..
Getting or reading a cookie means using the name to retrive
the value..

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is namespace and use in php?

513


Define metaphone()?

8285


What is explode() in php?

531


Tell me what is the use of explode() function?

532


What is the difference between explode () and split () functions in php?

599






What is delimiter php?

521


What are the difference between overloading and overriding in oops?

527


What is the difference between rest and soap?

557


What are the advantages of triggers?

515


Can we use onclick in submit button?

530


What are the two main string operators?

534


How do you use an array in excel?

516


What is the use of $_request variable?

559


What is the Default syntax used in PHP?

584


How to create a web form?

533