locked
session.save_handler = wincache don't share correctly RRS feed

  • Question

  • User1405907073 posted

    at php you can:"

    session_set_cookie_params(0, '/', '%.example.com%');

    session_start();

    "

    the sessions info will be shared at whole *.example.com domains. 

    but not when you use session.save_handler= wincache

    Tuesday, August 26, 2014 6:00 PM

All replies

  • User409000176 posted

    I haven't spent a lot of time with the Wincache session handler, so it's going to take me a bit of digging and experimenting to figure out how it works.

    Quick question: why have the '%' chars in your 3rd arg to set_session_cookie_params?  The examples I've found have it without the '%', e.g.:

    <?php 
    session_set_cookie_params(0, '/', '.example.com'); 
    session_start(); 
    ?> 

    Thx!

        --E.

    Tuesday, August 26, 2014 8:30 PM