Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is a persistent login session in simple words?

Sorry if its sound simple from the title. I google before asking but unable to understand https://www.google.co.in/?q=what+is+a+persistent+login+session.

I am following PassportJS docs where it is mentioned -

After successful authentication, Passport will establish a persistent login session.

What exactly does this persistent login session means and how it is different in terms of simple sessions in context of nodejs or passportJS.

like image 988
Trialcoder Avatar asked Nov 11 '14 12:11

Trialcoder


People also ask

How persistent login works?

In Web Applications, persistent login only works if the end user has enabled the use of cookies in the browser. It keeps independent sessions in different browsers allowing end users to have different persistent login sessions for the same application in different browsers and devices.


1 Answers

According to http://passportjs.org/guide/configure/ the persistent session data is stored in a cookie in the user's browser.

like image 69
mattias Avatar answered Nov 15 '22 04:11

mattias