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

Popular Categories





Cookies and its types

+4 votes
116 views
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.

via

Related Questions

+1 vote
2 answers 154 views
+4 votes
1 answer 295 views
0 votes
1 answer 357 views

Not a Member yet?

Ask to Folks Login

My Account
153 Folks are online
0 members and 153 guest online
Your feedback is highly appreciated