![](Assets/Background.png)
2. Include Functions from Cookies.js to your javascript file. (your file need be type="module")
import { Cookies, CreateCookie, ChangeCookie, LoadCookies, ReLoadCookies, DeleteCookie } from "./Cookies.js";
3. To Load Cookie use LoadCookies() or ReLoadCookies() functions.
4. For Read Data from cookie just Load Cookies and use Cookies[Name].
5. For Adding new Cookie or change cookie use CreateCookie(Name, Data, LifeTimeInMiliSeconds) or ChangeCookie(Name, Data, LifeTimeInMiliSeconds);
6. To delete Cookie use DeleteCookie(Name);
- Load Cookies
- Reload Cookies
- Get Data from Cookies
- Create new Cookie
- Change Cookie
- Delete Cookies