Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Newbie; Getting Data from database question

Status
Not open for further replies.

carlg

Programmer
Jun 23, 2004
88
US
I'm new to ASP 2.0 so I have some questions.

I have mutiple users of my website.

Let's say I have a db table called mytable.
There is a column on this table called userid which tells which of the users to which this row belongs.

I put a login view control on my page.

Where do I pull the value of the current logged in user from so I can write a query like the following:

Select * from mytable where userid = "whatever user us logged in"

I only want to display the rows for the user that is logged in.

Thanks for the help

Carl

 
No, I didn't

I will try

Thanks for the info!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top