...

View Full Version : Timer of website logged out?



deshi2003
03-15-2009, 08:56 AM
how to set a timer like 15 or 20 minutes to checking user activity in my website. please

explain me as http is a disconnected model and every time a page loaded the timer should

start from 0 second.how could i say it passes 20 minutes.
please help me in detail

Philip M
03-15-2009, 09:14 AM
JavaScript is purely a client-side language, and unless used with an Ajax call has no capability to read from or write to a file (except a cookie), access a database or the client's operating system, or alter the default behaviour of the browser.

This means that although you could include a timer in your web page it would be visible only to the user. It is not possible (using JavaScript) for you to see or receive that information.


All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum