• Resolved J Garner

    (@jagarner)


    Hi there,

    Curious about the use of cookies and sessions.
    Does the following generate a cookie and/or session and if it does is there any way to prevent the cookie / session if the language redirect is not being used?

    ./wp-content/plugins/multilingual-press/inc/redirect/Mlp_Redirect_Frontend.php: session_start();
    ./wp-content/plugins/multilingual-press/inc/redirect/Mlp_Redirect_Response.php: session_start();

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @jagarner,

    The information about the redirect are stored using localStorage not cookies, server side them are retrieved by GET variables.

    That begin said, the redirect is default to ‘PHP’ which means the redirect.js file isn’t enqueued and no data is stored into the user browser (localStorage).

    The session is used to retrieving the value by the GET url parameter, so if the redirect option is set to ‘0’ you’ll not use session nor localStorage.

    • This reply was modified 6 years, 5 months ago by Guido Scialfa.
    Thread Starter J Garner

    (@jagarner)

    Thanks very much @wido for your feedback, that’s really helpful.

    John

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Cookie sessions’ is closed to new replies.