session and subdomain
Hi all,
I encounter the following problem:
A session (admin), set on mydomain.com is keeped when i go to
"s1.mydomain.com", and vise versa.
( linux gentoo). Can i solve the problem with a different apache
configuration?
thx.
Re: session and subdomain
On Jul 30, 5:48 am, S=E9verin Richard <severin.rich... [at] free.fr> wrote:
> Hi all,
>
> I encounter the following problem:
>
> A session (admin), set on mydomain.com is keeped when i go to
> "s1.mydomain.com", and vise versa.
>
> ( linux gentoo). Can i solve the problem with a different apache
> configuration?
>
> thx.
You want to change session.cookie_path:
<http://www.php.net/manual/en/ref.session.php#ini.session.cookie-
domain>
Re: session and subdomain
On Jul 30, 5:48 am, S=E9verin Richard <severin.rich... [at] free.fr> wrote:
> Hi all,
>
> I encounter the following problem:
>
> A session (admin), set on mydomain.com is keeped when i go to
> "s1.mydomain.com", and vise versa.
>
> ( linux gentoo). Can i solve the problem with a different apache
> configuration?
>
> thx.
You want session.cookie_domain:
<http://www.php.net/manual/en/ref.session.php#ini.session.cookie-
domain>