Write and Read A Cookie

Tutorials Shared by the Internet Community

Advertisements

  Top Tutorials     New Tutorials     Submit     Login     Register  

Tutorial Detail

Write and Read A Cookie

Cookies enable you to write text directly to a users computer.
http://www.codeave.com/asp/code.asp?u_log=49
  • Total Hits: 13856

  • Average Rating :
    URL RatingURL RatingURL RatingURL RatingURL Rating

  •  

  • Total Votes: 143 votes

  • Category: ASP/Cookies and Sessions

  • Submitted on: 2008-03-06 09:09:43

  • Submitted By: Devesh Khanna

  • Set as Favorite

Description:

ookies 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. The example below 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. To see the cookie on your PC locate your cookie directory (typically located in C:\WINDOWS\Cookies) and find the one named www.codeave.txt. *The ability to write cookies to the PC can be restricted by the user by changing security options.    More detail...

Rating Detail

 Stars  Percentage  Total Vote
 One star  Vote LeftVote MiddleVote Right 37.76%  54
 Two starsTwo star  Vote LeftVote MiddleVote Right 9.79%  14
 Three starsThree starsThree stars  Vote LeftVote MiddleVote Right 11.89%  17
 Four starsFour starsFour starsFour stars  Vote LeftVote MiddleVote Right 10.49%  15
 Five starsFive starsFive starsFive starsFive stars  Vote LeftVote MiddleVote Right 30.07%  43

Caste Your Vote

 Rating  Selection  Guidelines
 Poor:     Very disappointing, useless.
 Fair:     Below average, disappointing but not useless.
 Good:     About average in its class.
 Very Good:     Above average for its category.
 Excellent:     One of the best Tutorials in its category.






Advertisements