Multiple choice technology web technology

A project on which you are working calls for you to store small amount of frequntly changing information about a page on the client. For this project, SECURITY is not worried. Which method is thebest method to use

  1. Cookies

  2. A query String

  3. A URL

  4. A javascript function

  5. A hidden form field

Reveal answer Fill a bubble to check yourself
E Correct answer
Explanation

Hidden form fields are ideal for storing small amounts of frequently changing page-specific data when security isn't a concern, as they persist with the page and form without the size limitations of cookies or URL complexity. Cookies have size limits (~4KB) and are sent with every HTTP request, while query strings and URLs are visible in the address bar and limited in length.