My web application uses sessions to store information about the user once they\'ve logged in, and to maintain that information as they travel from page to page within the ap
Generate a hash, maybe with a secret only you know, then store it in your DB so it can be associated with the user. Should work quite well.