Home

Submit

Source

Feeds

Home » JavaScript » Cookies and Sessions ::

JavaScript Cookies and Sessions
In this tutorial, I'm going to use a cookie to count the number of times a computer has been to your site. The purpose of the script is to place the cookie and retrieve it, adding one each time it visits.
Related Tutorials
JavaScript Cookies and Sessions
Cookies
JavaScript / Cookies and Sessions
A cookie lets you store a small amount of information about a user visiting your site. A cookie is a small text file that is stored on the site visitor's computer by their browser.Because the cookie is stored on the user's computer, it does not require any server space no matter how many users you have.You can use cookies to save user preferences, customize data, remember the last visit, or to keep track of items in an order while a user browses.

Site: blazonry.com Report - View Tutorial

JavaScript Cookies and Sessions
Set A Cookie
JavaScript / Cookies and Sessions
Set a cookie and then read from it.

Site: www.htmlgoodies.com Report - View Tutorial

JavaScript Forms
Variable Passing
JavaScript / Forms
For those of you who need a way to pass variables across pages but wouldn't think of using a cookie to do it - try this.

Site: www.htmlgoodies.com Report - View Tutorial

JavaScript DHTML and DOM
Expandable and Collapseable menus with cookies
JavaScript / DHTML and DOM
This is a basic script that will open or close a div by toggling it, and saving its state within a cookie.

Site: www.mileswjohnson.com Report - View Tutorial

JavaScript Cookies and Sessions
Determining JavaScript cookie support in client's browser
JavaScript / Cookies and Sessions
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.

Site: www.javascriptkit.com Report - View Tutorial

JavaScript Forms
Javascript Text Box Characters Counter
JavaScript / Forms
Forms always require validation when they are used in not safe environments. One method is to verify the data submitted through POST or GET before actually executing the form action. Using Javascript it is possible to do this in a more simple way.

Site: www.reconn.us Report - View Tutorial

JavaScript Getting Started
Loops
JavaScript / Getting Started
JavaScript performs several types of repetitive operations, called "looping". Loops are set of instructions used to repeat the same block of code till a specified condition returns false or true depending on how you need it. To control the loops you can use counter variable that increments or decrements with each repetition of the loop.

Site: www.webcheatsheet.com Report - View Tutorial

JavaScript Forms
Text Box Characters Counter (IE4+)
JavaScript / Forms
In forms when using text boxes or text areas with limited character length (usually needed for forms that submit data to a database) it is always a good idea to tell the user how many characters they have remaining. The following example shows how you can do this. This is a very simple and cute idea to help the user know exactly how many characters he can type further. Do these small add-ons to your forms and they will look really professional.

Site: www.smartwebby.com Report - View Tutorial

 
Site Search

 
Categories
2D Graphics 3D Graphics Office Applications Databases Desktop Programming Web Development
 
Advertisement