The obvious best way is to store cookies on the users PC, assuming they use the same PC each time, have cookies enabled, and don't delete them. The next best way is to store the browsing history in a database, based on the IP address of the user. If you want to guarantee tracking, then you will have to force the user to log onto your site first, so you know exactly who they are, then store the information in a database. Unfortunately, that may mean people refuse to register first, and you could loose sales. Personally, I'd go for the cookie approach. First of all, see if there's a cookie on the PC for your site, and load it into the session if there is. If there is no cookie, create one and store that in the session. You can then use the session data for that specific user to store information in a database, and allow their interests to be recorded and tracked. Rob. -----Original Message----- From: php-objects@xxxxxxxxxxxxxxx [mailto:php-objects@xxxxxxxxxxxxxxx] On Behalf Of Md. Anisur Rahman Sent: 22 October 2007 15:28 To: php-objects@xxxxxxxxxxxxxxx Subject: How Can i tracked browsers????????? Dear all Suppose i have a ecommerce site which has some products. I want to know to which product users have more interest.How can i tracked the browsers?give ne idea as soon as possible. Thanks in advance. Javed <mailto:hyd-phpug@xxxxxxxxxxxxxxx> *********************************************************************************** Any opinions expressed in email are those of the individual and not necessarily those of the company. This email and any files transmitted with it are confidential and solely for the use of the intended recipient or entity to whom they are addressed. It may contain material protected by attorney-client privilege. If you are not the intended recipient, or a person responsible for delivering to the intended recipient, be advised that you have received this email in error and that any use is strictly prohibited. Random House Group + 44 (0) 20 7840 8400 http://www.randomhouse.co.uk http://www.booksattransworld.co.uk http://www.kidsatrandomhouse.co.uk Generic email address - enquiries@xxxxxxxxxxxxxxxxx Name & Registered Office: THE RANDOM HOUSE GROUP LIMITED 20 VAUXHALL BRIDGE ROAD LONDON SW1V 2SA Random House Group Ltd is registered in the United Kingdom with company No. 00954009, VAT number 102838980 ***********************************************************************************