> I don't think this will work. Aren't cookies only supposed to be sent
> back to the host that sent them? Or can it be as broad as "the domain
> that sent them"?
>Maybe I'm misreading the question, but...
You can set a general cookie @ .domain.tld, which will later be accessible from
$anything.domain.tld. One limitation though, that still hasn't been cured, is
that you can't access it from the domain name *without* a hostname - domain.tld
wouldn't be able to access them, whereas www.domain.tld or web.domain.tld would.
Silly really. :)
A workaround is to include() a check at the top of all pages to make sure there
*is* a hostname, and send a header() redirect if there isn't.
adam
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!