PHP sessions

Discussion in 'Installation/Configuration' started by sojic, Sep 29, 2008.

  1. sojic

    sojic New Member

    I have ISPConfig for 1 domain (with subdomains).

    I have login form on www.domain.com with form action https://secure.domain.com.

    If logged OK, in secure.domain.com I set $_SESSION['logged']=true;

    I use if (!$_SESSION['logged']) { show login form }

    This work only in secure.domain.com, for www.domain.com there is another session.

    How to set 1 session for entire server?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. sojic

    sojic New Member

  4. Ben

    Ben ISPConfig Developer ISPConfig Developer

    For the cookie-thing see session_set_cookie_params

     

Share This Page