I have followed the Knowledge Base article: to setup logging into my website. I have altered the code to do what I want it to. The logon database that I created has the username and password like the article states. I also have the same UID in another database with the actual username. I want to be able to have them to go the secure page and see their username. This is my code on the secure page to bring up the username from the database:
<%
fp_sQry="SELECT * FROM Information WHERE (UID = '<%=FP_FieldVal(fp_rs,"UID"%>')"
fp_sDefault=""
fp_sNoRecords="<tr><td colspan=1 align=left width=""100%"">No records returned.</td></tr>"
fp_sDataConn="Database4"
fp_iMaxRecords=256
fp_iCommandType=1
fp_iPageSize=0
fp_fTableFormat=True
fp_fMenuFormat=False
fp_sMenuChoice="Name"
fp_sMenuValue="Name"
fp_iDisplayCols=1
fp_fCustomQuery=False
BOTID=0
fp_iRegion=BOTID
%>
Any ideas? Thanks!
<%
fp_sQry="SELECT * FROM Information WHERE (UID = '<%=FP_FieldVal(fp_rs,"UID"%>')"
fp_sDefault=""
fp_sNoRecords="<tr><td colspan=1 align=left width=""100%"">No records returned.</td></tr>"
fp_sDataConn="Database4"
fp_iMaxRecords=256
fp_iCommandType=1
fp_iPageSize=0
fp_fTableFormat=True
fp_fMenuFormat=False
fp_sMenuChoice="Name"
fp_sMenuValue="Name"
fp_iDisplayCols=1
fp_fCustomQuery=False
BOTID=0
fp_iRegion=BOTID
%>
Any ideas? Thanks!