NetTalk Central

Author Topic: Cookie domain  (Read 44139 times)

rainerwallenius

  • Jr. Member
  • **
  • Posts: 70
    • View Profile
    • Email
Cookie domain
« on: March 08, 2016, 12:38:02 AM »
Hi all.

I need to set a cookie with a slightly different domain.
If I set a cookie, it creates a cookie with domain
myprogram.mydomain.com.

What i need is cookie with plain
mydomain.com.

I can see that setcookie() takes domain as a parameter (p_web.CookieQueue.Domain) but it does not seem to do the magic.

Any ideas?

TIA

:: rainer

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Cookie domain
« Reply #1 on: March 08, 2016, 10:00:04 PM »
I recommend
http://stackoverflow.com/questions/1062963/how-do-browser-cookie-domains-work
for some information on how that attribute works.

cheers
Bruce