Re: domain in cookie
This WebDNA talk-list message is from 2006
It keeps the original formatting.
numero = 67310
interpreted = N
texte = Sorry, "Try It!" was an (apparently) obscure reference to the programming manuals... cart=[cart] Try It!The value in your [getmimeheader host] should be identical to the ip address of the server if that's how you are calling it to the browser. If it is in a domain or has a name record attached to it, it may be seeing itself with a different name than what is being passed from the address bar on your browser. What happens if you take the domain=[getmimeheader host] out?Terry Wilson wrote:> Try what? I'm testing sites on a new server, and accessing with only > an IP address at this point, and my cookies are not taking. > [getmimeheader host] returns the IP address. Could the IP address be > the issue? Donovan said an IP was okay.>> Here's my code which works fine on established sites:>> [setcookie name=[id]admin&value=T&path=/&expires=[format days_to_date > %A, %d-%b-%Y][math]{[date]}[showif > [math]{[time]}+{05:30:00}[/math]<[math]{05:30:00}[/math]]+{00/01/0000}[/showif][/math][/format] > [math time]{[time]}+{05:30:00}[/math] GMT&domain=[getmimeheader host]]>> Thanks,> Terry>>>>>> Try It!>>>> Sorry, couldn't resist.>>>> Matthew Bohne>>>>>> Terry Wilson wrote:>>> Can the domain part of a cookie be an IP address? I'm migrating >>> sites to a new server, and find that my cookies are not being set. >>> I'm accessing via an IP address, not a domain name.>>-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Sorry, "Try It!" was an (apparently) obscure reference to the programming manuals... cart=[cart] Try It!The value in your [getmimeheader host] should be identical to the ip address of the server if that's how you are calling it to the browser. If it is in a domain or has a name record attached to it, it may be seeing itself with a different name than what is being passed from the address bar on your browser. What happens if you take the domain=[getmimeheader host] out?Terry Wilson wrote:> Try what? I'm testing sites on a new server, and accessing with only > an IP address at this point, and my cookies are not taking. > [getmimeheader host] returns the IP address. Could the IP address be > the issue? Donovan said an IP was okay.>> Here's my code which works fine on established sites:>> [setcookie name=[id]admin&value=T&path=/&expires=[format days_to_date > %A, %d-%b-%Y][math]{[date]}[showif > [math]{[time]}+{05:30:00}[/math]<[math]{05:30:00}[/math]]+{00/01/0000}[/showif][/math][/format] > [math time]{[time]}+{05:30:00}[/math] GMT&domain=[getmimeheader host]]>> Thanks,> Terry>>>>>> Try It!>>>> Sorry, couldn't resist.>>>> Matthew Bohne>>>>>> Terry Wilson wrote:>>> Can the domain part of a cookie be an IP address? I'm migrating >>> sites to a new server, and find that my cookies are not being set. >>> I'm accessing via an IP address, not a domain name.>>-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Matthew Bohne
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
[WebDNA] Dates (2009)
Emailer setup (1997)
REPOST: How do _you_ back up your db? (2000)
Auto entering Friday's date in a field (2002)
WebMerch/Emailer Error (1998)
problem with NT beta (1997)
How to include weather (2000)
Plugin or CGI or both (1997)
where to put code (1998)
WebCat2 - [format thousands] (1997)
purchase plugin (1996)
country of origin from IPADDRESS??? (2001)
Candle Light Vigil (2001)
Attn: Bug in GeneralStore example b15 (1997)
f2 download problems (1997)
Question (1998)
Major Security Hole (1998)
[DOS]/DOS query perhaps OT (2003)
Using Plug-In while running 1.6.1 (1997)
v6.x & [cart] (2004)