Best Tutorials website


Write and Read A Cookie

Write and Read A Cookie

Cookies enable you to write text directly to a users computer. This can be used to easily recognize if a user has been to your site before or used to prevent multiple entries in to forms. This example will take any input you type in and write it to a cookie. A hyperlink to the same page is created to demonstrate on subsequent visits (within 3 days) the user will see their input rather then the text input box.




Views: 1061 | Rating star | by Adam




View this tutorial
Broken link Report broken link?