... insert into LogTable (userAgent,Ipaddress , Userid)
                values ('#cgi.user_agent#', '#cfig.remote_addr#', #UserID#)

Where UserID is some value you've stored to identify the user.


-----Original Message-----
From: Robert Orlini [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 08, 2002 10:27 AM
To: CF-Talk
Subject: #CGI.REMOTE_ADDR#


Hello,

I am capturing a user's IP and Browser info using the CF variables, such
as #CGI.REMOTE_ADDR#.

I can have this info display on screen and on an email that I receive
using <cfoutput>, but how would I script the action page to insert the
info from these variables into my access table so I can keep a permanent
record of this info?

Thanks.


______________________________________________________________________
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to