Getting the Remember Me Cookie Name

Problem

You need to know the name for the "remember me" cookie.

Solution

Use the Auth::getRecallerName() method.

$remember_name = Auth::getRecallerName();

Discussion

This is a long name beginning with the word 'remember_'.

Most often, it's something like remember_82e5d2c56bdd0811318f0cf078b78bfc.

comments powered by Disqus