# Login

**URL:** <https://forum.kirupa.com/t/login/123050>\
**Category:** Uncategorized\
**Created:** [September 19, 2004, 10:54pm UTC](https://forum.kirupa.com/t/login/123050 "2004-09-19T22:54:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dreamerp](https://avatars.discourse-cdn.com/v4/letter/d/fbc32d/32.png) [@dreamerp](https://forum.kirupa.com/u/dreamerp)\
**Post date:** [September 19, 2004, 10:54pm UTC](https://forum.kirupa.com/t/login/123050/1 "2004-09-19T22:54:15Z")

</div>

Hello,

I developed a member registration system, but I wanted them to login and go to their member id which is a primary key and is is generated uniquely for each member, but I am not sure how. The row in the mysql database is named id. When I do it, the address is something like this: logincheck.php?id= . So it is not getting the id. How can I do this? When I enter in the unique id, and then login it goes to that members profile, so how can I do this? Also, I also have it so that it will check the id so that the person is not trying to go into someone else’s profile. Also, if someone could suggest If I should just use sessions please so. I am not sure what to use, I am guessing that sessions would be easier, but I am not that good with them. Tutorials and anything will help, THANKS

Peter
