Support » Fixing WordPress » wp-load.php Interfering with Sessions

  • I have a website that I pull recent posts from WordPress into the footer with wp-load.php. On my contact forms, the wp-load.php connection is interfering with session variables maintaining between form submissions.

    Here is stripped down version to show only the form page:

    The following code is included, which is causing the SESSION variables to not carry forward.

    // Include WordPress
    define('WP_USE_THEMES', false);

    If I remove the above code, it works PERFECTLY.

    Any help?

  • The topic ‘wp-load.php Interfering with Sessions’ is closed to new replies.