This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > FrontPage Programming > March 2006 > display data from database





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author display data from database
hussam

2006-03-26, 6:37 pm

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?
Stefan B Rusynko

2006-03-27, 6:43 am

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/FrontP...53/Default.aspx
_____________________________________________


"hussam" <hussam@discussions.microsoft.com> wrote in message news:D459B241-4D2E-4F7F-8B00-77CCAC0E15AA@microsoft.com...
| 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?


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews