Any Mobile Theme Switcher Interferes with Session Values in other plugins

Home Forums Any Mobile Theme Switcher Any Mobile Theme Switcher Interferes with Session Values in other plugins

This topic contains 2 replies, has 2 voices, and was last updated by  Dinesh 3 years, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #978

    Hube2

    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.

    http://wordpress.org/support/topic/any-mobile-theme-switcher-interferes-with-session-values-in-other-plugins

    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://

    #1364

    Hube2

    Thanks for the great support!

    #1384

    Dinesh
    Keymaster

    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.

    Thanks

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

The topic ‘Any Mobile Theme Switcher Interferes with Session Values in other plugins’ is closed to new replies.