1.Where are the cookies storing ?
2.What is the drawback of using cookies ?
3. If two site is having same cookie name and different
values what will be the output if we echo the cookie name
from those sites ? How can we solve this issue (How can we
specify the domain name)?
Answer Posted / abhi kakade
I have answered in this way. Next question from the
interviewer was 'How can we make cookies secure ?' :-(
Anybody please answer this question.
Ans : there are two types of cookies 1) permanent 2)
temporary temporary cookies are secure those cookies file
gets deleted when browser session ends.
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
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.
How can we set and destroy the cookie in php?
Explain a resource?
What is the difference between characters 23 and x23?
Is java is better than php?
How to redirect https to http url through .htaccess?
What is serialization in php?
What is polymorphism with example in php?
What is a namespace in php?
How to connect to a url in php?
How does php sessions work?
What is use of echo in php?
How to replace a substring in a given string?
How to check whether a number is prime or not?
What is the most common http method?