Hey @seotoco,
Sorry to hear you’re having difficulties.
Is it possible to use sessions with PHP 7.4 or 8.0 without downgrading the php version?
WP Native PHP Sessions works on PHP 7.4 in my testing. Maybe there’s something else about your server configuration that’s different and causing issues?
Is this site on Pantheon or hosted elsewhere?
Hi Daniel,
We develeoped piece of code using sessions function.
The code worked perfectly in the sandbox
We usedInsert PHP Code Snippet plugin to implement it with wordpress and its not working. Do we need to do any additional settings to make it work?
How can you help us solve the problem?
Thanks.
-
This reply was modified 10 months, 1 week ago by
seotoco.
Hey @seotoco,
It’s hard to say what the issue might be without being able to debug the code, which is outside what we support.
If you track down a specific reproducible issue with WP Native PHP Sessions, we’d be happy to take a look at getting it fixed.
We moved $p1 from one page to another page.
session_start();
// Moves P1 to the end
$p1 = $_SESSION['P11'];
$_SESSION['P11'] = $p1;
// Moves P1 to the end
Can you give me a minimal piece of code that must work that we can try it out?