Hey there! any question in your mind? Ask It Now!.

Popular Categories

Cookies and its types

+4 votes
asked in Manual Testing Interview Question by nitin (810 points)
What are cookies and also explain its types?  How do you answer this question ?


Asked me in an interview.

1 Answer

+1 vote
answered by Himanshu Expert (5,940 points)

Cookies are the files which are stores in users computer, cookies are designed to store a modest amount of data and the data can be accessed by client or web server.

There are following type of cookies.

1.  Session Cookies : Session cookies are basically temporary data files which are based on user's session , When user close the browser these cookies gets deleted and if the same user comes again that website so he again a new user and a new session cookie will be assigned to him.


2.  Persistent Cookies :  Now if we talk about persistent cookie these are the data files which can be deleted at a specific time duration.may b 3 days or one week or month etc.


3. Secure Cookies :  These cookies can be transmitted over a encrypted connection  like HTTPS so that it can secure from others.


4. Zombie Cookies :  This is a cookie that can be auto generated even if you have deleted them , this cookies are handled from client side script like JavaScript.


I think these 4 points are enough to explain in an interview.


Related Questions

+1 vote
2 answers 283 views
+4 votes
1 answer 428 views
+4 votes
1 answer 210 views

Not a Member yet?

Ask to Folks Login

My Account
351 Folks are online
2 members and 349 guest online
Your feedback is highly appreciated