NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: rainerwallenius on March 08, 2016, 12:38:02 AM

Title: Cookie domain
Post by: rainerwallenius 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
Title: Re: Cookie domain
Post by: Bruce 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