What is the different between cookies and session in php?

Answer Posted / sri harsha

cookies are stored in client machine and session are stored
in server machine.

Is This Answer Correct ?    75 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is php and why it is used?

540


How to check whether a number is prime or not?

533


When to use self over $this?

545


What type of comments are supported by PHP.

557


What is difference between count or sizeof function in php?

526






What is the use of offset in mysql?

518


How is it possible to return a value from a function?

530


Which php framework is in demand?

448


Is php easy language to learn?

567


Is php difficult to learn?

497


How does cookies work in php?

522


What is php and sql used for?

494


Does php have multiple inheritance?

498


What does the unset() function mean?

555


Are php session secure?

522