http://php.mirrors.ilisys.com.au/manual/en/function.setcookie.php

Hi, there im following the Cookies site above - & also trying to use
the $_SESSION codes...

- Basically, I want to create a session and/or cookie - that will be
available to ANY subdomain on my own site......

However - I'm just thinking - that this is the problem...

(examples)

http://subdomain1.domain.com/
has a "root" directory of

/www/u/username/subdomain1/htdocs/

http://subdomain2.domain.com/
has a "root" directory of

/www/u/username/subdomain2/htdocs/

http://www.domain.com/
has a "root" directory of

/www/u/username/htdocs/

etc....


is this "Root directory" the cause of my problem ? & is there a way we
can use sessions and/or cookies - accross all the subdomains in my
site ??


PS :- I CAN use a MYSQL database - But i'll rather not do a query -
each time a page is refreshed - & record passwords / Usernames in the
URL - if they go out of one subdomain, & into another subdomain...

--
G
Yahoo Archives by email = Yes
http://groups.kwister.com/owners.php#add
NZ community groups - [EMAIL PROTECTED]


Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list




SPONSORED LINKS
Php mysql Job postings


YAHOO! GROUPS LINKS




Reply via email to