Skip to content
Advertisement

Tag: session

PHP Session Timing Out Soon

I am working on a PHP role based application in which I have to maintain session as well. once the user is logged in he will be redirected to his interface where I manage session as The user id and …

$_SESSION problem – I have same ID on all

I don’t know, how I do this: I want to add $id from database to $_SESSION[“dbID”] and after click, it shows me more information from database. But table generates in while function and $_SESSION[“dbID”] every time set to the highest number of row from table. Please, Can you anyone change my code as I have $_SESSION[“dbID”] on every <tr> of

Session_start() after defining a constant

on every page (first lines, first code) I have those two lines of code: after those two lines of code, I always do session_start();, I read that session_start() should come as a first thing, before anything. Session_status() shows that session is active and working properly, so I have a couple of questions: 1. Why does the session work if it

Laravel 7 does not display flash message

I’m not sure if it has anything to do with it, but I believe it may be something related to my routes, I may be talking nonsense. No flash message is being displayed, I was only able to display a message by setting it to Session::put, retrieving it in the view and then deleting it. When I use with, withErrors,

Advertisement