Link to home
Start Free TrialLog in
Avatar of StuartB_99
StuartB_99

asked on

Checking whos been on !!!

Is there any way I can keep a file of who has been to my site, ie as soon as someone logs on to the site, can I grab thier computer name, or username or something?

Please help,

Stu
ASKER CERTIFIED SOLUTION
Avatar of yolish
yolish

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of maneshr
maneshr

yes, you can do that based on the User's IP address, server name.

Besides you say that the user should first log on to your site, which means the user might have already provided you with personal info.

in such a scenario you could use cookies to indiate that the user has login into your site. for this you could use the username and some other unique piece of info

A combination of cookies and username access should be what you are looking for.
No you cannot obtain a person's computer name or username off of their computer without the user knowing when they come into your site.  The only things you can get are the following:
  browser vendor e.g. Netscape, IE
  browser version number
  JavaScript version number
  OS platform and version

To obtain that type of information without the user knowing would be a security problem.  However, as mentioned above you can ask for information and store it as a cookie.

Also as mentioned above, Webtrends and many other traffic watching programs are avaialbe and free to use to see how many times people return to your site, how many first timers, etc.

tec
Here is the way you can do this. You can set a cookie and the next time you can know which person has visited your site. You can keep track of how many usrers has visited the site and other information as well.
Ummm, the only thing the cookie will do is tell the user that they have been there before.  The cookie will not tell the site's owner anything unless the site owner has some server side scripting capability that will read the cookie and update a database.

tec
try learning another language besides HTML... Cold Fusion or PHP are two that I know would do what you want.
ASP, CGI (using PERL) can do this also
-- Holy Spirit