Jump to content

what is a better choise for login details?


shedokan

Recommended Posts

I am creating a CMS and I am now in the proccess of making a login system.

in my login system when I login an account, should I remember the password or remember an automatic generated id wich is stored in the database by the user name?

 

and should I check if the user's login details are correct with the database every page load or every time the session is over?

The auto gen ID sounds better.

 

For the second bit, it depends on your server, if your allowed a lot of MySQL connections go ahead with every page/where it's needed. If your only allowed to have a few connections then why not check the details on pages where you can change things, such as posting/changing user account details.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.