What is the different between cookies and session in php?
Answer Posted / deepak nagar
session is always use to maintain the state b/w browser and
the WEB server, HTTP is stateless which doesnt know about
the users,session is powerfull enemy of ststeless..
Cookie stored a client end and this is the queation pn the
security...
| Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
How many escape sequences are recognized in double-quoted strings?
What is htaccess? Why do we use this and where?
How can you retrieve a cookie value?
What is mysql_fetch_row?
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.
What does type casting mean in php? Explain with an example?
Which are the best start and end tags to use?
Can we override static method in php?
What are the differences between require and include?
What is the difference between characters 34 and x34?
How to Pass JSON Data in a URL using CURL in PHP?
Is multilevel inheritance possible in php?
What are the difference between array_keys() and array_key_exists() in php?
What is the super method?
Is php outdated 2019?