Browser sessions in AdonisJS

Browser sessions in AdonisJS

15mins
2 lessons
Intermediate
Start course

With the growing number of devices and browsers available these days, it's not uncommon for users to be logged in to your application on multiple devices/browsers. You might need to allow users to keep track of their browsers sessions and even ways to log out from certain browsers or all browsers. In this course, you are going to learn how to implement browser (or log in) sessions in AdonisJS.

What you'll learn

  • How track and save users browser sessions
  • Display users browser sessions
  • How to log out a specific browser session
  • How to log out all other browser sessions
  • How to ensure only one log in session for users
  • How to log out all sessions after password update or reset

Browser sessions

In this lesson, you are going to learn how to track users browser sessions by saving them in the database.

In this lesson, we cover how to display users' browser sessions. You will also learn our to parse user agent.

*Course still in development. Do check back often for updates.

Chimezie Enyinnaya

Hi, I'm Chimezie Enyinnaya, your teacher.

I’m a self-taught software developer based in Lagos, Nigeria, with over 8 years of experience. In the last couple of years, I've been doing more teaching because I enjoy sharing my knowledge so that others can benefit from it. Come along as I teach you all I know about AdonisJS, Node.js, and JavaScript at large!