Posted by Michael Fesser on 05/11/07 09:35
..oO(Kentor)
>I'm having trouble to setup one session that will work for subdomains
>and the main domain... I've read a lot about using various ways like
>init_set() or set.cookie_domain or using .htaccess and some others I
>can't remember... Everyone posting examples on the net are people who
>are having trouble with this session subdomain thing and I've tried
>some solutions but they don't seem to work.
What have you tried so far? According to the manual it should be quite
easy. Setting the cookie domain to something like example.com instead of
www.example.com should make it available for the entire domain including
subdomains, so you can access the session from there as well as from the
main domain.
Micha
Navigation:
[Reply to this message]
|