sojic
29th September 2008, 22:38
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?
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?