Rose,<br> Assuming you want to track each visitor to your site (as opposed to tracking each page) in session_onstart, read the last value from your database, increment it, and write the new value to the database.<br> Tracking users by IP address isn't a good idea, unless you're on an intranet. When people access your site from a site that uses a proxy server, you get the address of the proxy server, not the user's system. That means that everybody that uses that proxy server will show up with the same IP address. <p>nick bulka<br><a href=mailto: > </a><br><a href= > </a><br>