Hi all,
I want to be able to tell a visitor to a certain page that s/he has logged in x number of times.
People log in with a username/password combination passed through form fields , which is verified against information stored in a DB, before each user session is initialized:
<CFQUERY NAME="security_check" DATASOURCE="#db#">
SELECT passwords.user_id,
passwords.password,
passwords.user_name
FROM passwords
WHERE passwords.user_id = '#form.user_id#' AND
passwords.password = '#form.password#'
</CFQUERY>
Any help with setting up a session counter to distinguish individual users will be hugely appreciated!
Thanks
I want to be able to tell a visitor to a certain page that s/he has logged in x number of times.
People log in with a username/password combination passed through form fields , which is verified against information stored in a DB, before each user session is initialized:
<CFQUERY NAME="security_check" DATASOURCE="#db#">
SELECT passwords.user_id,
passwords.password,
passwords.user_name
FROM passwords
WHERE passwords.user_id = '#form.user_id#' AND
passwords.password = '#form.password#'
</CFQUERY>
Any help with setting up a session counter to distinguish individual users will be hugely appreciated!
Thanks