Generic filters
Exact matches only

PHP Session not being passed

23rd October 2013

Wordpress - Miscellaneous

wordpress category

If a PHP session ($_SESSION) is not being passed from a web site using WordPress.

ANSWER: Add the missing “www.” in the wordpress site area.

WRONG URL: (missing the “www.”)


By adding the “www.” to the WordPress domain name the problem was solved:

Login to WordPress Admin area
Go to Settings – General
Add “www.” to the WordPress address (URL) and Blog address (URL).

Was this code snippet helpful?

Comment on this Code Snippet?