display data from database

H

hussam

Hi
after i made Registration and login page connected to Access database (works
perfect) I need to display the User Name and E-mail address in the welcome
message.
can anyone help?
 
S

Stefan B Rusynko

Wherever in you script you validate them from the DB
- also "query" the DB for their Name and Email from those 2 fields
Then "save" the values as session variables
- if you are using objRS for your recordset it would be

Session("Name") = objRS("Name")
Session("Email") = objRS("Email")

and use them on any other page as
<%=Session("Name")%> or <%=Session("Email")%>

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Hi
| after i made Registration and login page connected to Access database (works
| perfect) I need to display the User Name and E-mail address in the welcome
| message.
| can anyone help?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top