Using a salt value

Hi,

I’ve been reading up on using a salt value when creating a password to make it more secure, what I can’t get my head round is how do you remember this salt value?

I’m guessing that when a user logs in to be able to compare the password entered with the one in the database you would need to again add the salt value to the entered password.

Am I missing something really obvious?

Thanks in Advance

You save the salt with the password. Then again use it when with the password the user enters and compared the resulting hash.