|
 |
asp_web_howto thread: trying to track logins.
Message #1 by Sean Eddington <seddington6@h...> on Mon, 28 Jan 2002 17:05:16 -0500
|
|
I am trying to set up a way to track who logs into my site when. I want it
to enter the username and time/date of login into a database. to me this
seems as if it could or should be relatively simple. But I am drawing a
blank. I nbelieve the global.asa file is where to start but then get
confused. and ideas?
Sean
Message #2 by Greg Partin <GPartin@c...> on Mon, 28 Jan 2002 17:09:01 -0500
|
|
The way I do it is put the logic in a 'gatekeeper' page that sits between
the login screen and the first page of my website. I just pull the username
from the log-in form variable and use the date() function to 'insert' into
the database.
hth,
Greg
-----Original Message-----
From: Sean Eddington [mailto:seddington6@h...]
Sent: Monday, January 28, 2002 5:05 PM
To: ASP Web HowTo
Subject: [asp_web_howto] trying to track logins.
I am trying to set up a way to track who logs into my site when. I want it
to enter the username and time/date of login into a database. to me this
seems as if it could or should be relatively simple. But I am drawing a
blank. I nbelieve the global.asa file is where to start but then get
confused. and ideas?
Sean
$subst('Email.Unsub').
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.317 / Virus Database: 176 - Release Date: 1/21/2002
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.317 / Virus Database: 176 - Release Date: 1/21/2002
Message #3 by "Drew, Ron" <RDrew@B...> on Mon, 28 Jan 2002 17:28:22 -0500
|
|
-----Original Message-----
From: Sean Eddington [mailto:seddington6@h...]
Sent: Monday, January 28, 2002 5:05 PM
To: ASP Web HowTo
Subject: [asp_web_howto] trying to track logins.
I am trying to set up a way to track who logs into my site when. I want
it to enter the username and time/date of login into a database. to me
this
seems as if it could or should be relatively simple. But I am drawing
a
blank. I nbelieve the global.asa file is where to start but then get
confused. and ideas?
Sean
$subst('Email.Unsub').
Message #4 by "Drew, Ron" <RDrew@B...> on Mon, 28 Jan 2002 17:30:29 -0500
|
|
User is <%=3DRequest.ServerVariables("LOGON_USER")%>
Just remember when you ask for one servervariable, you get them all
which could slow you down. So if you want to use the servervariables on
multiple pages set up session variables such as CURRENTUSER etc.
Date is the date..is the date
-----Original Message-----
From: Sean Eddington [mailto:seddington6@h...]
Sent: Monday, January 28, 2002 5:05 PM
To: ASP Web HowTo
Subject: [asp_web_howto] trying to track logins.
I am trying to set up a way to track who logs into my site when. I want
it to enter the username and time/date of login into a database. to me
this
seems as if it could or should be relatively simple. But I am drawing
a
blank. I nbelieve the global.asa file is where to start but then get
confused. and ideas?
Sean
$subst('Email.Unsub').
|
|
 |