New Social Network - Part 5 - Login Tokens

Web Development January 17, 2017

In this video we’ll be generating the login tokens that securely log the user into our social network.

We’ll be generating the login token, hashing it, storing it in our database and storing the un-hashed version of the token in a cookie in the users browser.

Go to for more!

Link to DigitalOcean:
Link to video 5 source code:
Link to series playlist:

Link to howCode Facebook:
Link to howCode Twitter:

Don’t forget to subscribe for more!


Welcome to my blog. My name is Akis Mparekas. I am a freelance web developer from Greece. At the same time I am taking my first steps in game development (unity) and animation (blender). I also create cool stuff, either for work or for fun. When I have time, I write tutorials and I blog.