HTTPS with php session in different page
Posted: Tue Jan 12, 2021 10:44 pm
Hi friends.
I have a problem with https about $_SESSION in php
last time my website is working correctly with http but after change to https I can send value of session to another page
login.php
session_start();
$_SESSION['user_ID'] = 8;
Action.php
session_start();
echo "User ID = " . $_SESSION['user_ID'] ; //// It's not show any thing
Thank you very much for your help
I have a problem with https about $_SESSION in php
last time my website is working correctly with http but after change to https I can send value of session to another page
login.php
session_start();
$_SESSION['user_ID'] = 8;
Action.php
session_start();
echo "User ID = " . $_SESSION['user_ID'] ; //// It's not show any thing
Thank you very much for your help