rok wrote:
I have intranet (not internet) page(s), to which has access only five
people, I would like them to log into file when and who accessed to view
my page(s).
The vast majority of webservers do record logs by default.
Can this be done simpliest as possible with javascript.
In theory you could write some server side JavaScript, but its not a common
choice of language there and would be rather redundant given that
webservers can to it already.
If you are talking about client side JavaScript, then no. The only place
that client side JavaScript can record data is in a cookie, and that is
only accessible from that browser (although the browser could send it to a
server). So you could only keep a log on a browser by browser basis - which
would be fairly pointless (and is pretty much handled by the browser
history function already).
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is