CameraIcon
CameraIcon
SearchIcon
MyQuestionIcon
MyQuestionIcon
2
You visited us 2 times! Enjoying our articles? Unlock Full Access!
Question

Which of the following is not a valid cookie parameter.

A
Name of cookie
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
Expiration date of cookie Domain
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
Domain
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
None of the above
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
Open in App
Solution

The correct option is D None of the above

None of the above is not a valid cookie parameter.

Cookies are pieces of information stored on the client side, which are sent to the server with every request made by the client. ... Cookies can be secured by properly setting cookie attributes. These attributes are: Secure. Domain.

Cookies can only be read from the issuing domain. Cookies can have an expiry time, if it is not set, then the cookie expires when the browser is closed. Sessions are like global variables stored on the server. Each session is given a unique identification id that is used to track the variables for a user.

Cookies are indeed tiny programs (text files) , not spyware, and they are usually placed clandestinely by web sites (web servers) in your computer to gather certain information about you such as your surfing habits. ... But Cookies are good sometimes because they do things that looks like magic.

Cookies are not at all safe and should either contain least amount of data or you should encrypt them very well with salts. One thing to say, anything you send to client , POST , GET or Cookies . Everything can be modified . ... So if your data is not important use cookies if you wish.


flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Introduction to e-Business
BUSINESS STUDIES
Watch in App
Join BYJU'S Learning Program
CrossIcon