How do i associate a particular information such as Picture or comments to a logged in User. I want to do it such that when a particular user is logged in, it displays his or her pictures or albums and comments associated with his account. but i dont seem to be getting it. Please help me out, its urgent.

Hi

This is very simple just store user identity(eg userid) in session and every time get the data associated with user from database or in case you are working with file's like images just store the file name in database in association with user.

It tells me "there are no data records to display".Can you show me a little example of creating a session that is associated with data to be displayed.

It would help if we could see any examples of the code you are using?

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.