title: How to display all session info stored in database (Laravel)
body: <p>Is there anyway to display all sessions data ?</p>
  <p>I tried this way</p>
  <pre><code> Session::all();
  </code></pre>
  <p>but it return current user info not all stored sessions</p>
  <p>Then I tried this code</p>
  <pre><code>DB::table('sessions')-&gt;get();
  </code></pre>
  <p>it retrieve all stored data but everything is encrypted like this</p>
  <pre><code>  [id] =&gt; zZLNtqmennbg3gdsfdsffdstlvdZfjKtzZTP7Or6Tk
    [user_id] =&gt; 
    [ip_address] =&gt; 196.144.136.233
    [user_agent] =&gt; Mozilla/5.0 (Linux; Android 7.0; SM-G610F Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.91 Mobile Safari/537.36
    [payload] =&gt; YTozOntzOjY6Il90b2tlbiI7czo0MDoiOVJXSmdkZlFnVktNU3lVVlBQSFdKOElrRFFMVEdtYUJnMENiQzY4NSI7czo5OiJfcHJldmldfdsfdsfdfzOiJ1cmwiO3M6MzM6Imh0dHBzOi8vYXJldmlld3NhcHAuY29tL2Vycm9yXzQwNCI7fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fX0=
    [last_activity] =&gt; 1535513730
  </code></pre>
  <p>Also I don't have user_id  since I use custom sessions</p>
  <p>This code returns the correct data but for one user only</p>
  <pre><code> Session::all();
  </code></pre>
  <p>How can I retrieve all sessions data  like this  ?</p>
  <pre><code>  [&quot;plan_type&quot;]=&gt; string(7) &quot;test&quot; [&quot;shop&quot;]=&gt; string(36) &quot;test.test.com&quot;  
  </code></pre>
  <p>Because what stored in database is encrypted   I want user data so I know how many session each user have</p>