LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[Webdev] Nasty apache problem

[Webdev] Nasty apache problem

adam beecher adam at iewebs.com
Thu Jun 15 11:37:53 IST 2000


> 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





More information about the Webdev mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell