Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Other user details visible after login [was: Big Boo Boo]

New Here ,
Sep 26, 2009 Sep 26, 2009

I  am developing a site that will allow users to create an account and enter information such as contact information, also give them the opportunity to upload additional information about themselves.  The problem I am having is when another person login their account.  I can still see the other person  account information.  Every body who create an account will have a home page displaying information they enter into forms.  I am trying to separate every account information.  I also wonder if I setup the database right too.  I am using php and myspl for my database.  I don't know if I overlook something or did something wrong.  Can anybody help me?

[Meaningless subject line edited by moderator]

TOPICS
Server side applications
723
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 26, 2009 Sep 26, 2009

kimsturgis wrote:

I also wonder if I setup the database right too.  I am using php and myspl for my database.  I don't know if I overlook something or did something wrong.

It would seem perfectly obvious that you have done something wrong, but you have given so few details, it's impossible to guess what the problem might be.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 26, 2009 Sep 26, 2009

I will try to give more detail in this posting.  First I am using PHP and MYSQL.  I am using Dreamweaver CS4 to develop my site.  I am creating a site that will allow people to register by creating an account. I have several forms such as registration,education,resume,cover letter forms.  The user will fill out the forms and create a home page with all their information about themselves.  In homepage, the user can edit information about themselves as well.  I have created the login form and applied the behavior to the form. I also created the log out link to log the user out.  The problem I have is other details about the other user is showing.  This is the best way I can describe my situation.  I felt I have skip or overlook something.  Can anyone show or point me in the right direction to solve this problem.

Thanks

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 26, 2009 Sep 26, 2009

I think what might be the problem, the recordset.  The home page displaying information about the user in their home page is not filtered.  Should I be using session variable filter the user_id? What do you think about this?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Sep 28, 2009 Sep 28, 2009
LATEST

Yes.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines