laravel-session

How to Use Auth() Register During Login Session in Laravel 5.7

让人想犯罪 __ 提交于 2019-12-13 06:35:43
问题 I have changed the register page of Laravel 5.7 Auth() to the studentRegister page to register a new student, but it is inaccessible when I'm logged in through another user. The route didn't work while I'm in the session. However, it works perfectly after logging out from one session. Please suggest how I can register a new student while I'm logged in. studentRegister.blade.php I have removed {{csrf}} as well. @extends('layouts.app') @section('content') <div class="container"> <div class="row

Laravel - Stop concurrent access to record

天大地大妈咪最大 提交于 2019-12-11 07:54:52
问题 In Laravel is there any way to stop interacting with the same record simultaneously. For example, if User A is editing a record then at the same time I need to stop User B from editing same record. Note: I am using SESSION_DRIVER=file & Laravel 5.2 There are around 500+ users using the system currently and it is kind of Admin panel where admins interact with the records but I need to stop concurrent access. what would be the optimum solution. 回答1: I recently implemented something similar. For