I am writing a programme that requires a multi-step form before all the validated data will be stored in the database. For instance, Users have to provide their personal information before proceeding to the next step, and I want the validated data to be stored as a session up till the user completed its registration before all the data will
Tag: laravel-session
Session put does not seem to be working properly
I’m working with Laravel 5.8 and I wanted to make sure that users can submit a form only every 2 hours (as long as a session is alive). So I tried this at the Controller: So by this, everytime a user submits a new request, session request_has_been_sent must be set. Therefore at the next time user submits the form, if
Change item of a session array in Laravel
I’m using Laravel 5.6, using session array to store the user details after login. user_date = array:19 [ “userEmail” => “user@user.com” “username” => “userwebtest” “role” => “user” “…
How to use on Laravel guard for the main domain and another for the subdomains
I’m building a multi-tenant application where the idea is the admins access through the main domain (http://myapp.app) to the dashboard and the regular users access to another dashboard on their …