2080 5

BIT301 ยท 2080 ยท 5 marks

What is a cookie? Write PHP program to create cookie.

What is a cookie? Write PHP program to create cookie. [5]

Web Technology IIChapter 10: Sessions, Cookies, and Error HandlingCookie creation and handling

A cookie is a small piece of data that a server sends to the user's web browser. The browser stores it and sends it back with subsequent requests to the same server. Cookies are commonly used to: - Remember user login information - Track user sessions - Store user preferences - Maintain state bet...