Write a cookie and the points are yours - TechRepublic
General discussion
June 15, 2000 at 04:08 AM
adwait gupte

Write a cookie and the points are yours

by adwait gupte . Updated 25 years, 11 months ago

I need a javascript cookie script that will write a cookie with the contents of a form and then when the user tries to login the script would compare the user name and the username on the cookie. There is no password. Also it will login the user andkeep a log of which links he has clicked and then make those links unavailable. The script should also keep track of how many links the user has clicked and read it each time he logs in and when the number reaches 200 should show a alert message. The number of links the user has clicked should be in a variable so that they can be shown on a page.

All Comments