How to create a session in php? [closed]
Closed 1 hour ago.
Php session is NULL in another file
I want to set the session in my service file:
php creates *many* session files for one session_start()
PHP v8.1.18 on a Fedora ‘test server’ with apache 2.4.57
I am the only person logging in or surfing
PHP Session Variables Not Accessible in Backend After Moving Site to SiteGround
I have a website built in PHP by another developer who is no longer available for contact. The website was recently moved from Heart Internet to SiteGround, and I’m encountering an issue with PHP session variables.
Always fails to decode session object
Im currently using php 8.3.8 using a custiom session handler classs with a read function that reads from a db and looks like this:
Problem using $_SESSION across multiple php files
I have 2 php files. The first, index.php, is where I create the SESSION. It then calls the next file, login.php. I test for the existence of the SESSION in login.php and it says there is no SESSION. I am doing this through XAMPP on my local system and I can see that the SESSION file was created, but login.php can’t detect it. The following code from the two files are both at the top of the file, before any other PHP or HTML code. What am I doing wrong?
I don’t know why session_start and session_start_samesite take so much time when using PHP
PHP autorisation with session issue
I made a login form, that allows you to go to admin dashboard of my web-page. Issue that web-page always write me that i wrote username or password incorrectly.