Reply to Re: sessions and subdomains

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация