String data type can store Cookies - State Management System

Q.  What type of data can Cookies store?
- Published on 27 Jul 15

a. String
b. DateTime
c. System.Int32
d. None of the above.

ANSWER: String
 

    Discussion

  • Nihal   -Posted on 01 Oct 15
    You can store string type data in Cookies. Cookies are browser dependent and not secure. You should not store confidential data in cookies. There are two types of cookies: session cookies and persistent cookies. A session cookie data lost if user exit from the system but persistent cookie remains for long time.

Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)