i have made a Session which has as the EmailId as the session name....now i want to retrieve data in the user profile page ....which means the particular logged user will get to know their personal information....how do i do it???plz help
n.b:the database has 1 table only where EmailId is my primary key

Recommended Answers

All 2 Replies

I assume when you say you crated a Session that you mean you have stored their EmailID in teh session varaible.
If thats the case you will need to create a connection to your database and use a Select query to retreive rows where EmailID = Session["EmailID"].
Try reading this

retrive values from session and use it in query for accesing data simple yaar

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.