1
phppp
xoops_setcookie: set a cookie for a different domain
  • 2004/4/22 17:18

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


It is important and essential to handle cookies for multi-site use of xoops.

My question is:
1 Is it possible to set a cookie for a domain from outside of the domain?
2 If yes, how?
3 If no, will the multi-site use of XOOPS be complete?

documentation from netscape

2
Dave_L
Re: xoops_setcookie: set a cookie for a different domain
  • 2004/4/22 18:28

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


1. Not exactly. Some ad banners do this by embedding code in the page that's run on the domain for which the cookie will be created. Those are called "third-party" cookies, and both IE and Mozilla have a specific option for blocking that kind of cookie. And popup blockers might not even allow the code to execute. So even if you implemented this, a lot of users wouldn't get the cookie.

3
phppp
Re: xoops_setcookie: set a cookie for a different domain
  • 2004/4/22 18:49

  • phppp

  • XOOPS Contributor

  • Posts: 2857

  • Since: 2004/1/25


sad ...

There is an approach introduced by Wayne Berry: Sharing Cookies Across Domains.
However, it is not so practical.

Login

Who's Online

408 user(s) are online (255 user(s) are browsing Support Forums)


Members: 0


Guests: 408


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits