Issue with Sessions Not Working

Website URL


Other Information

I’m experiencing an issue with session functionality on my WordPress website memeticle.com while trying to set up social login through UsersWP. UsersWP support has identified that the session is not working on my site, and they’ve recommended reaching out to my hosting provider to enable session functionality on the server.

Could you please assist me in enabling sessions on the server? Your prompt attention to this matter would be greatly appreciated, as it is crucial for the proper functioning of the social login feature on my website.

PHP sessions are supposed to just work on our servers, and I don’t see anything to suggest they are not.

What’s the exact issue you’re having with UsersWP?

3 Likes

Is session path is writable or not?

They are usually writable, unless the plugin is trying to write into some weird paths.

6 Likes

Yes, the default session path is writable.

I setup a little test script on your site that uses PHP sessions to track visitor numbers. You can see it in action here: https://memeticle.com/_session_test.php

The code is very simple:

<?php

session_start();

if (empty($_SESSION['session_test_counter'])) {
    $_SESSION['session_test_counter'] = 0;
}

$_SESSION['session_test_counter']++;

echo "You have visited this page: {$_SESSION['session_test_counter']} times.";

It starts at 1, if you refresh it, it should increase the session value by one, and show increasing numbers.

If that script works, it means sessions are working. And it means that whatever issue you’re having is not caused by sessions not working.

Would you please tell us the actual issue you’re having, so we can try to solve that, instead of looking for non-existent issues that I don’t think are responsible for the real issue?

3 Likes

The UsersWP social login works perfectly fine for a random reason, don’t know why it was not working few days ago.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.