protection on different Apache virtual hosts

Discussion in 'Setting-up protection' started by tartanpion, Mar 25, 2005.

  1. tartanpion

    tartanpion Guest

    hello,

    I'm actually testing the 2.3.4TRIAL version of aMember.

    This script works fine, except for one thing : I have two different virtual hosts on my server :
    http://test1.tartapion.com
    http://test2.tartapion.com

    I set up a protection on both URLs ; when I log on to test1, and then going on to test2, I have to log again (probably due to cookies paths)

    Is there a way to bypass this limitation or must I reconfigure my web server to get only one virtual host ?

    Thank you
  2. tartanpion

    tartanpion Guest

    ok

    sorry, it works fine... I was using a different PHPSESSID in each of my virtual hosts. I now ini_set the cookie_domain variable before calling session_start and everything is OK.

Share This Page