CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Logging User logins

Print topic Send  topic

Author Message
WhoKnows

Posts: 4
Posted: 02/21/2007, 3:45 AM

:-) Anyone help please (novice user - very novice)

I have an application based on an SQL database with a users login table containing 3 fields - UserName, Password and SecurityLevel.

I would like to be able to review basic information such as ... Who logged in and when. With my limited knowledge, I realise that I can review the web logs, but these do not indicate the user name.

Thanks in advance ......
View profile  Send private message
wkempees
Posted: 02/21/2007, 12:09 PM

Check this first:

http://forums.codecharge.com/posts.php?post_id=60821&s_keyword=logging

Walter
"WhoKnows" <WhoKnows@forum.codecharge> schreef in bericht
news:645dc30d2130cf@news.codecharge.com...
> :-) Anyone help please (novice user - very novice)
>
> I have an application based on an SQL database with a users login table
> containing 3 fields - UserName, Password and SecurityLevel.
>
> I would like to be able to review basic information such as ... Who
> logged in
> and when. With my limited knowledge, I realise that I can review the web
> logs,
> but these do not indicate the user name.
>
> Thanks in advance ......
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

DeanCovey


Posts: 22
Posted: 02/21/2007, 7:01 PM

I had a project where I just wanted to track the last date/time the user logged in. I created a field in the user table named LastLogin. The when the user clicks the login button, then


If CCGetUserID>0 Then dbConnection.Execute("UPDATE Individuals SET LastLogin=#" & now() & "# WHERE id=" & CCGetUserID)



dbConnection = your db + name of connection.
View profile  Send private message
WhoKnows

Posts: 4
Posted: 02/26/2007, 9:12 AM

Hi Walter

re.......Check this first:

http://forums.codecharge.com/posts.php?post_id=60821&s_keyword=logging

I like your idea of creating a separate table to hold details of each login. However, I couldn't get it to work.

Is it possible you could advise me of the ASP code (using an SQL database) for this solution.

Thanks
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.