Re: [WebDNA] 2 cookies, same name different value

This WebDNA talk-list message is from

2016


It keeps the original formatting.
numero = 112984
interpreted = N
texte = 571 --Apple-Mail=_C3232015-727F-4720-BE41-617F24F3FC74 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Stuart, There's a good discussion here: = http://stackoverflow.com/questions/1612177/are-http-cookies-port-specific Short answer, so long as the domain is the same, port should not matter. Mike > On Sep 14, 2016, at 6:17 PM, Stuart Tremain = wrote: >=20 > Hi Donovan >=20 > In this case the domain is OK. >=20 > I restarted my computer, cleared cookies & cache, tried different = browsers and still get the same result. >=20 > Could it be that cookies delivered on http & https are treated = differently ? >=20 >=20 > Kind regards >=20 > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au >=20 >=20 >=20 >=20 >=20 >> On 13 Sep 2016, at 23:06, Donovan Brooke wrote: >>=20 >> In other words: www.domain.com won=92t work for domain.com. >>=20 >>=20 >> Always good to clean your URL=92s if using [listmimeheaders] to the = root domain. >>=20 >> Donovan >>=20 >>=20 >> On Sep 13, 2016, at 1:48 AM, Stuart Tremain = wrote: >>=20 >>> I have a problem where I have 2 x cookie with the same name but they = have different values. >>>=20 >>> One should be overwriting the other but it isn=92t :( >>>=20 >>> Both cookies are being set like this: >>>=20 >>> [SETCOOKIE name=3Dt3wishlist&value=3Dw[SERIAL]&expires=3D[FORMAT = days_to_date %A, %d-%b-%Y][Math]{[date]}+{00/00/0010}[/Math][/FORMAT] = 00:00:01 GMT&domain=3D[ListMIMEHeaders = name=3DHOST][value][/ListMIMEHeaders]&path=3D/] >>>=20 >>> Where am I going wrong ? >>>=20 >>>=20 >>>=20 >>> Kind regards >>>=20 >>> Stuart Tremain >>> IDFK Web Developments >>> AUSTRALIA >>> webdna@idfk.com.au >>>=20 >>>=20 >>>=20 >>>=20 >>>=20 >>> --------------------------------------------------------- >>> This message is sent to you because you are subscribed to >>> the mailing list . >>> To unsubscribe, E-mail to: >>> archives: http://mail.webdna.us/list/talk@webdna.us >>> Bug Reporting: support@webdna.us >>=20 >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us --Apple-Mail=_C3232015-727F-4720-BE41-617F24F3FC74 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 Stuart,

There's a good discussion here:

Short answer, so long as the domain is the same, port should not matter.

Mike

On = Sep 14, 2016, at 6:17 PM, Stuart Tremain <webdna@idfk.com.au> = wrote:

Hi Donovan

In this case the = domain is OK.

I restarted my computer, = cleared cookies & cache, tried different browsers and still get the = same result.

Could it be that cookies = delivered on http & https are treated differently ?


Kind regards

Stuart= Tremain
IDFK Web Developments
AUSTRALIA
webdna@idfk.com.au





On 13 Sep 2016, at 23:06, Donovan Brooke = <dbrooke@euca.us> wrote:

In other = words:  www.domain.com won=92t work for domain.com.

Always good to clean your URL=92s if using = [listmimeheaders] to the root domain.

Donovan


On Sep = 13, 2016, at 1:48 AM, Stuart Tremain <webdna@idfk.com.au> = wrote:

I= have a problem where I have 2 x cookie with the same name but they have = different values.

One should be overwriting = the other but it isn=92t :(

Both cookies = are being set like this:

[SETCOOKIE = name=3Dt3wishlist&value=3Dw[SERIAL]&expires=3D[FORMAT = days_to_date %A, %d-%b-%Y][Math]{[date]}+{00/00/0010}[/Math][/FORMAT] = 00:00:01 GMT&domain=3D[ListMIMEHeaders = name=3DHOST][value][/ListMIMEHeaders]&path=3D/]

Where am I going wrong ?



Kind regards

Stuart= Tremain
IDFK Web Developments
AUSTRALIA
webdna@idfk.com.au





---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <talk@webdna.us>.
To = unsubscribe, E-mail to: <talk-leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: support@webdna.us
---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <talk@webdna.us>.
To = unsubscribe, E-mail to: <talk-leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: support@webdna.us
---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <talk@webdna.us>.
To = unsubscribe, E-mail to: <talk-leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: support@webdna.us

= --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us --Apple-Mail=_C3232015-727F-4720-BE41-617F24F3FC74-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] 2 cookies, same name different value (Michael Davis 2016)
  2. Re: [WebDNA] 2 cookies, same name different value (Stuart Tremain 2016)
  3. Re: [WebDNA] 2 cookies, same name different value (Donovan Brooke 2016)
  4. Re: [WebDNA] 2 cookies, same name different value (Donovan Brooke 2016)
  5. [WebDNA] 2 cookies, same name different value (Stuart Tremain 2016)
571 --Apple-Mail=_C3232015-727F-4720-BE41-617F24F3FC74 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Stuart, There's a good discussion here: = http://stackoverflow.com/questions/1612177/are-http-cookies-port-specific Short answer, so long as the domain is the same, port should not matter. Mike > On Sep 14, 2016, at 6:17 PM, Stuart Tremain = wrote: >=20 > Hi Donovan >=20 > In this case the domain is OK. >=20 > I restarted my computer, cleared cookies & cache, tried different = browsers and still get the same result. >=20 > Could it be that cookies delivered on http & https are treated = differently ? >=20 >=20 > Kind regards >=20 > Stuart Tremain > IDFK Web Developments > AUSTRALIA > webdna@idfk.com.au >=20 >=20 >=20 >=20 >=20 >> On 13 Sep 2016, at 23:06, Donovan Brooke wrote: >>=20 >> In other words: www.domain.com won=92t work for domain.com. >>=20 >>=20 >> Always good to clean your URL=92s if using [listmimeheaders] to the = root domain. >>=20 >> Donovan >>=20 >>=20 >> On Sep 13, 2016, at 1:48 AM, Stuart Tremain = wrote: >>=20 >>> I have a problem where I have 2 x cookie with the same name but they = have different values. >>>=20 >>> One should be overwriting the other but it isn=92t :( >>>=20 >>> Both cookies are being set like this: >>>=20 >>> [SETCOOKIE name=3Dt3wishlist&value=3Dw[SERIAL]&expires=3D[FORMAT = days_to_date %A, %d-%b-%Y][math]{[date]}+{00/00/0010}[/Math][/FORMAT] = 00:00:01 GMT&domain=3D[ListMIMEHeaders = name=3DHOST][value][/ListMIMEHeaders]&path=3D/] >>>=20 >>> Where am I going wrong ? >>>=20 >>>=20 >>>=20 >>> Kind regards >>>=20 >>> Stuart Tremain >>> IDFK Web Developments >>> AUSTRALIA >>> webdna@idfk.com.au >>>=20 >>>=20 >>>=20 >>>=20 >>>=20 >>> --------------------------------------------------------- >>> This message is sent to you because you are subscribed to >>> the mailing list . >>> To unsubscribe, E-mail to: >>> archives: http://mail.webdna.us/list/talk@webdna.us >>> Bug Reporting: support@webdna.us >>=20 >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us --Apple-Mail=_C3232015-727F-4720-BE41-617F24F3FC74 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 Stuart,

There's a good discussion here:

Short answer, so long as the domain is the same, port should not matter.

Mike

On = Sep 14, 2016, at 6:17 PM, Stuart Tremain <webdna@idfk.com.au> = wrote:

Hi Donovan

In this case the = domain is OK.

I restarted my computer, = cleared cookies & cache, tried different browsers and still get the = same result.

Could it be that cookies = delivered on http & https are treated differently ?


Kind regards

Stuart= Tremain
IDFK Web Developments
AUSTRALIA
webdna@idfk.com.au





On 13 Sep 2016, at 23:06, Donovan Brooke = <dbrooke@euca.us> wrote:

In other = words:  www.domain.com won=92t work for domain.com.

Always good to clean your URL=92s if using = [listmimeheaders] to the root domain.

Donovan


On Sep = 13, 2016, at 1:48 AM, Stuart Tremain <webdna@idfk.com.au> = wrote:

I= have a problem where I have 2 x cookie with the same name but they have = different values.

One should be overwriting = the other but it isn=92t :(

Both cookies = are being set like this:

[SETCOOKIE = name=3Dt3wishlist&value=3Dw[SERIAL]&expires=3D[FORMAT = days_to_date %A, %d-%b-%Y][math]{[date]}+{00/00/0010}[/Math][/FORMAT] = 00:00:01 GMT&domain=3D[ListMIMEHeaders = name=3DHOST][value][/ListMIMEHeaders]&path=3D/]

Where am I going wrong ?



Kind regards

Stuart= Tremain
IDFK Web Developments
AUSTRALIA
webdna@idfk.com.au





---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <talk@webdna.us>.
To = unsubscribe, E-mail to: <talk-leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: support@webdna.us
---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <talk@webdna.us>.
To = unsubscribe, E-mail to: <talk-leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: support@webdna.us
---------------------------------------------------------
This message is sent to you because you are subscribed to
the mailing list <talk@webdna.us>.
To = unsubscribe, E-mail to: <talk-leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting: support@webdna.us

= --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us --Apple-Mail=_C3232015-727F-4720-BE41-617F24F3FC74-- . Michael Davis

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:

Re:Emailer and encryption (1997) Before I Can Begin . . . (1998) Problem with version 4 browsers (1998) ReadDateFormat (1998) return missing item (was:WebCat Sales) (1997) attn: smitmicro - cart limitation (2002) RE: .html to .tpl (1998) Sku numbers (1997) RE: Cookies? (1997) [WebDNA] SHA-512 How To Do It (2014) OT: JavaScript question (2001) WebCat2b15MacPlugin - showing [math] (1997) Reverse text string (2002) default value from Lookup (was Grant, please help me) (1997) emailer w/F2 (1997) [WriteFile] problems (1997) OK, here goes... (1997) WC2.0 Memory Requirements (1997) New Command prefs ... (1997) Image Pirating [protecting against] (2003)