Support » Plugin: N360 | Splash Screen » Unable to set Cookie for Site With Port

  • Hi,

    Thanks for the wonderful plugin. I noticed one of my sites that ends with port 8080 is having problem setting the cookie required by the plugin, which in turn causes the splash screen to be loaded in loop indefinitely.

    May I suggest to use $_SERVER['SERVER_NAME'] instead of $_SERVER['HTTP_HOST'] along the line #23 on file includes/splash-screen.php to exclude the port from the domain when setting in the cookie to the browser? I modified the file on my site and managed to set the cookie correctly to the browser.

  • You must be logged in to reply to this topic.