Jump to content

Need help with login table


halpernsiegel

Recommended Posts

I'm a newbie and would appreciate some guidance.

 

I created a user registration form and a login form.

The user information from the registration form includes a user name and password, among other fields. The user name and password fields, only, are entered by the user into the login form when initiating a  session.  The information that the user provides in the registration form is stored in a customer information table through an insert query.  As currently coded, the user is able to login with the code retrieving and validating the user name and password from the registration table.  However, an additional step that I would like to take is to not just have a successful login but to store each login session with the date and time in a separate login table.  I already have an auto-incremented customer id field as the primary key in both the registration and login tables that I created.  No matter how I code it, I can't get the login session with the user name and time to get entered into the login table.  Can someone help me understand how to program this process and where to insert the code?  Thanks

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.