Learn about session-only cookies in JavaScript, and how they can help your scripts retain information even after the page is reloaded or cleared.
Top JavaScript scripts
1).
Check if cookies are enabled This JavaScript allows you to check whether the user’s browser is cookie enabled or not. This will be highly useful when you have to create a logon site.
2).
Visit Counter This cookie calculates the number of times the current user had visited. It does not display the total overall visits.
3).
Determining cookie support in client's browser If your script relies on JavaScript cookies to store and persist information, it's a good idea to always make sure the user's browser has cookies enabled first. This tutorial shows you how to perform this detection.
4).
Store/Retrieve Cookie Values Store/Retrieve Cookie Values obtains value into three variables and displays them in a form text for the user to edit the values. It is then opened every time the window is opened.
5).
Cookie Functions Cookie Functions offers you four functions to manage cookies on your websites that can be run with any javascript enabled websites. Supports customization with cookies data.
6).
Display Time of Last Visit This is a JavaScript cookie that provides the visitors of your page, a welcome greeting if they are visiting the page for the first time or displays the date and time of their last visit if they have visited your page before.
7).
Understanding Session-only Cookies Learn about session-only cookies in JavaScript, and how they can help your scripts retain information even after the page is reloaded or cleared.
New JavaScript scripts
1).
Visit Counter This cookie calculates the number of times the current user had visited. It does not display the total overall visits.
2).
Store/Retrieve Cookie Values Store/Retrieve Cookie Values obtains value into three variables and displays them in a form text for the user to edit the values. It is then opened every time the window is opened.
3).
Cookie Functions Cookie Functions offers you four functions to manage cookies on your websites that can be run with any javascript enabled websites. Supports customization with cookies data.
4).
Check if cookies are enabled This JavaScript allows you to check whether the user’s browser is cookie enabled or not. This will be highly useful when you have to create a logon site.
5).
Favorite BG Color Favorite BG Color activates cookies for visitors information and it can remember their desired background color to set it when the visitors enter next time. All functions are done through javascript modules.
6).
Understanding Session-only Cookies Learn about session-only cookies in JavaScript, and how they can help your scripts retain information even after the page is reloaded or cleared.
7).
Display Time of Last Visit This is a JavaScript cookie that provides the visitors of your page, a welcome greeting if they are visiting the page for the first time or displays the date and time of their last visit if they have visited your page before.