View Single Post
Old 08-06-2004, 07:14 PM   #2 (permalink)
bdl
Senior Contributor
 
Join Date: May 2002
Location: vta.ca.usa
Posts: 555
bdl is on a distinguished road
Although using the users IP address isn't strictly the best way to go about it (because more than one user can access from the same IP), I suppose performing two queries per page would be the way you'd want to approach this. The first query simply looks up the users IP in the database, then if it doesn't exist, logic dictates that the second query is run.
bdl is offline   Reply With Quote