session cookies

This topic contains 3 replies, has 4 voices, and was last updated by  Kiran 6 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #421380

    Metro Parent
    Full Member
    Post count: 6

    Hello Geo,

    I have searched high and low in these forums so apologies if this is a repeat question. We are unable to cache our pages as a result which greatly hampers site performance. This is due to Geo using session cookies.

    I have seen your proposed solution of adding:
    if ( !defined( ‘GEODIR_USE_PHP_SESSIONS’ ) ) {
    define( ‘GEODIR_USE_PHP_SESSIONS’, false );
    }

    to wp-config.php but then the PHPSESSID cookie is simply replaced by a geodir_wp_session cookie. How can we disable that one as well?

    Thanks!

    #421391

    Guust
    Moderator
    Post count: 29970

    Have a look here for correct caching settings and the best caching plugins:
    https://wpgeodirectory.com/docs/useful-plugins/#super-cache

    Thanks

    #421495

    Alex Rollin
    Moderator
    Post count: 27815

    This is really a question to direct to your host, in the case of session issues and fallout that might effect your cookies.

    That said, if the developers know of a fix they will get back to you here and let you know.

    Wordpress sessions are handled by Pantheon (a host, to serve as an example) with this plugin: https://wordpress.org/plugins/wp-native-php-sessions/

    I am not saying this is a solution for your case, but pointing to the fact that WP sessions for high performance sites are a known issue and that it is appropriate territory for evaluation of the host.

    #421528

    Kiran
    Moderator
    Post count: 7069

    Hello Metro,

    If you disable geodir_wp_session as well then GeoDirectory features will not works as expected.

    BTW which caching system you are using? are you caching pages via server or via WordPress plugin?

    Kiran

Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket