Support the ongoing development of Laravel.io →

700 Threads

Auth::check() not working because of sessions don't persit

Hello, I'm working on a projet, i have push my laravel projet on a Git and i'm working with 3 mates....

0 Likes
2 Replies
posted 6 years ago

Sessions not saving

Hi! I am building a small custom shopping cart with some specific needs. Whenever a product is added...

0 Likes
1 Replies

Track visitors

I'm in a bit of a pickle. I've looked at all the packages and none of them seems to fit my needs. Ho...

0 Likes
6 Replies

How to set up and sync the CSRF token with a Vue.js SPA?

I'd like to use Laravel CSRF tokens in my Vue.js SPA. I'm using plain HTML for views (i.e. no Blade...

0 Likes
2 Replies

Socialite - How can we use the refresh token?

Hi, I have learned how to get a token after the authorization via OAuth 2 providers (like Dropbox, E...

0 Likes
0 Replies
posted 6 years ago

Sessions not persisting(Laravel 5.4)

I am trying to figure out why my Sessions are not persisting. I am using the File System for session...

0 Likes
2 Replies

How to pass a block of html data to all views

Hi laravel.io my first question ever. I'm looking for a way to render a block of html to every view...

0 Likes
1 Replies

Memcached sessions not persisting

I am having no problems with file based sessions, but cannot get memcached sessions to persist on th...

0 Likes
9 Replies

[4.2] Persistence of the session later redirection

Hi guys, this is my first time i write here. I tried a lot of solutions to solve the problem i'll ex...

0 Likes
0 Replies

ErrorException in VerifyCsrfToken.php line 156

Hello. I'm having a strange issue and I'm not sure what's wrong. When I log into my account in my L5...

0 Likes
1 Replies

[Laravel 5] Custom auth in laravel 5 with session tracking in auth service provider.

Hi. I'm using Laravel to build a frontend to a server which is running a json-rpc based API. So I ma...

0 Likes
0 Replies

Auth user in global scope

Hello. How can I access the current logged in user with auth()->user() in global scope defined in...

0 Likes
3 Replies

Laravel 4.2 user do not logout randomly.

I am trying to logout with Auth::logout (), and it do not logout user randomly, most of time it log...

0 Likes
0 Replies

Shared sessions for Laravel 4.2 app and Laravel 5.2 app

Hi, I have eshop that is written in Laravel 4.2. Now I need absolutely deffirent app that will be ba...

0 Likes
4 Replies

Get unique id

Hello, Is there a way to get a user unique id (like machine id or something)? I want this to check i...

0 Likes
0 Replies
posted 7 years ago

Laravel session issue on reload

Hi, i have a major issue on my application, i want to save my cart into a new session when accessing...

0 Likes
0 Replies

Make a custom authentication admin panel

Hello, I'm very new to Laravel and I want to make a Login / Logout system to my admin panel without...

0 Likes
1 Replies

Add primary authentication with google2FA, in Auth laravel 5.3

How am I trying to get my main login done with the google authenticator with the package PragmaRX\Go...

0 Likes
0 Replies

[5.4] clear error message back when going back a page after Session::reflash()

Hi, I've got a 2 stage form using LaravelCollective forms and I use Session::reflash() in my control...

0 Likes
1 Replies

Laravel Session Id always changes every refresh in Laravel 5.4

So the title basically says it all, I am using Laravel 5.4, PHP 7.1 and on my local machine sessions...

0 Likes
2 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.