March 8, 2013 at 1:41 pm #978
I posted this on the wordpress.org support forum.
As I said there.
Due to the way that the session is started in this plugin it interferes with any session values set in any other plugin.
I come to this conclusion because the only other plugin that deals with session on the site where I am having a problem is this one.
I believe that the correct way to start a session is not at the top of the plugin but by calling a function on init.
I posted an example of the code I use for starting a session and running scripts that require sessions over there, it does not appear that I can post code here.
The problem is that the session values from my plugins that required them are destroyed by WordPress if they exist when the function wp_unregister_GLOBALS() is run or some other function. There’s a decent post about it here http://May 3, 2013 at 4:44 pm #1364
Thanks for the great support!May 6, 2013 at 11:47 am #1384
I got it now. There were 2 spam post under this thread. So it was hidden. I am so sorry for this.
Hope this new update fix this problem. As per my experience it should now. I have tested with some other plugin which uses session.
The topic ‘Any Mobile Theme Switcher Interferes with Session Values in other plugins’ is closed to new replies.