Add to Favorites    Make Home Page 5609 Online  
 Language Categories  
 Our Services  

JavaScript » Scripts and Programs » Cookies » Indicate if the site was updated since your last visit

A D V E R T I S E M E N T

Search Projects & Source Codes:



Title Indicate if the site was updated since your last visit
Platform n/a
Price Free
Author Visit Author Website
Website Visit Website of - Indicate if the site was updated since your last visit
Category JavaScript » Scripts and Programs » Cookies
Hits 678
Description Using cookies this script saves the date of the user's last visit and compares the date of the last updated date for the page. It then shows whether the page was updated or not since his/her last visit.

A D V E R T I S E M E N T




Google Groups Subscribe to SourceCodesWorld - Techies Talk
Email:

Free eBook - Interview Questions: Get over 1,000 Interview Questions in an eBook for free when you join JobsAssist. Just click on the button below to join JobsAssist and you will immediately receive the Free eBook with thousands of Interview Questions in an ebook when you join.


Scripts Related to - Indicate if the site was updated since your last visit

Script Name

Count Visits with Cookies - Send User To Correct Page

This JavaScript example counts the number of visits to this site (page). It uses that information to send the user directly to the correct page on the site (via a parameter). A test-only variable should be set to false to turn off the test mode.

Non-Persistent Cookie

This JavaScript uses cookies to get input from the user 1 time per users web session. It uses a non-persistent cookie to prompt the user for a word - it then stores it for the rest of that web browser's life. It will use the value input and stored in the cookie to put that word onto the page that it is loading.

Store/Retrieve Cookie Values

This example stores 3 variables into a cookie, and then retrieves them. It puts the values into a form text box where the user can change the values. A window can be made to open up where that window has the cookie values written on it.

Verify Cookie Max Size

The author notes" I was using IE version 5.5 to find the maximum size you can have a cookie be. This seems to be on the side of working - add 1 more to the size and it will not work as the cookie becomes too big. It should be easy enough to take this script and use it for yourself to test your web browser (future releases)."

cookie tracker

Using a cookie This JavaScript allows you to remember how many times a user has visited a page.

seconds at site

Use this JavaScript to count and remember the number of seconds that a visitor has been at your page.

Favorite BG Color

Let a JavaScript cookie remember your favorite background color. On the first visit, it prompts for your favorite background color and change it to your choice. On future visits, it automatically displays that background color for you.

Cookie Protection

You can use a basic cookie script to keep visitors (that don't have the cookie on their system) from viewing certain parts of your site (kind of.... There are always ways around it). The cookie is placed when the password provided is correct. Then, when they are forwarded to the password protected page, the cookie allows them to stay. Those without the cookie are sent back.

User Name

This cookie allows you to record and store the visitor's name on the visitors computer and to later retrieve that information.

Visits

This cookie records how many times the visitor has visited the page and writes to the page accordingly. (ie: You have been here 2 times).

Google Search

Google

Source Codes World.com is a part of Vyom Network.

Vyom Network : Web Hosting | Dedicated Server | Free SMS, GRE, GMAT, MBA | Online Exams | Freshers Jobs | Software Downloads | Interview Questions | Jobs, Discussions | Placement Papers | Free eBooks | Free eBooks | Free Business Info | Interview Questions | Free Tutorials | Arabic, French, German | IAS Preparation | Jokes, Songs, Fun | Free Classifieds | Free Recipes | Free Downloads | Bangalore Info | Tech Solutions | Project Outsourcing, Web Hosting | GATE Preparation | MBA Preparation | SAP Info | Software Testing | Google Logo Maker | Freshers Jobs

Sitemap | Privacy Policy | Terms and Conditions
Copyright ©2003-2019 SourceCodesWorld.com, All Rights Reserved.
Page URL: http://www.sourcecodesworld.com/scripts/Indicate-if-the-site-was-updated-since-y-5785/Default.asp


Download Yahoo Messenger | Placement Papers | Free SMS | C Interview Questions | C++ Interview Questions | Quick2Host Review


 Advertisements