Support the ongoing development of Laravel.io →

701 Threads

How to destroy users' session or logout user?

Question: How to destroy users' session or logout user when the user closed the browser? There are s...

0 Likes
0 Replies

Laravel 5.6 - Need Help with Session and Middleware

Hello I have the similar problem as https://github.com/laravel/framework/issues/13000 but i don't un...

0 Likes
0 Replies

Set cookie in middleware terminate function

Is it possible to set a cookie in the terminate function of a middleware? I have tried to create it...

0 Likes
1 Replies

Post-Redirect-Get flow problem

In my implementation of "Post-Redirect-Get" flow for Laravel a problem appears when using...

0 Likes
0 Replies

Laravel Auth retrieve wrong/unexpected user

I have a problem with my laravel application, it is like a nightmare to me ? I've tried everything I...

0 Likes
3 Replies

What Is A Right Way To Authenticate SPA App? (API)

Hello everyone! I have very exciting question form me. What is a right way to authenticate your SPA...

0 Likes
0 Replies

Save language of user in database

Hey, I want to sent SMS to user's mobile. The message should be sent in the users language. Where I...

0 Likes
1 Replies

Session is killed after login attempt

I have set up login feature for normal login (email, password) and facebook login using socialite. E...

0 Likes
1 Replies

Laravel 5.6 session persistence issue

I'm getting session persistence issue in laravel 5.6 ... the issue I'm facing is: Like I have 2 user...

0 Likes
0 Replies

Laravel vs Codeigniter – Which is better?

Laravel It is commonly known that Laravel offers expressive and elegant syntax for developing web ap...

0 Likes
1 Replies

Incorrect redirect after login

I have a site with 2 different logins, one for users (I use the default auth) and one for admins, fo...

0 Likes
0 Replies

Page Expired Exception in Laravel

I am using Laravel 5.5. I am trying to change my session driver to memcached. When i change the sess...

0 Likes
0 Replies

Can't use sessions in laravel controller

PHP script to check the client's IP address: <?php namespace IPv4; if(!session_id() || session_...

0 Likes
2 Replies

Session is automatically destroyed with the change of view

When i call a method where i set session is execute perfectly.After set the session when i call ano...

0 Likes
1 Replies

Auth::login from event handler not persisting

I have a L5.2 app where I'm trying to login a user in an Event Listener. All routes are wrapped in w...

0 Likes
1 Replies

Subdomain authentication

Hello, I've got this problem with the Auth::user() object not working properly when using subdomains...

0 Likes
4 Replies

file_put_contents() failed to open stream: Permission denied

hi guys i have a problem with laravel coding that i ran my project on cpanel and i encountered with...

0 Likes
2 Replies

Fire email on page view

Hey guys, im trying to get an email sent out to the logged in user on visiting a page, this is what...

0 Likes
3 Replies

Session flash message

Hi there! I have a code that works fine. It displays flash messages. This is what you find in my vie...

0 Likes
5 Replies

Class 'Swift_StreamFilters_StringReplacementFilter'

Hey guys, i have been working on a local machine, once a user registers it fires an event from a con...

0 Likes
0 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.