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:

suffix mapping for NT? (1997) Web Developer Product Awards (1997) RE: [WebDNA] [WSC] WebDNA Development Summit (2014) Re:Searching for ALL / empty form field (1997) shortening the cart (1998) SV: Mass Mail (2000) $append (1998) WC2b15 - [HTMLx]...[/HTMLx] problems SOLVED! (1997) Firesite and [referrer] atg broke (1997) checking for [ and ] in form fields ... (1997) TeaRoom Order fields email account remain empty even thoughthewy are filled. (1997) Upgrade to 3.07 problems (2000) Configuring E-mail (1997) [subtotal] and others (1997) Dreamweaver Integration (1998) carriage returns in data (1997) Now you see it now you donīt (1997) [COMMITDATABASE FileName] (2000) WebCat2 beta 11 - new prefs ... (1997) WebCat2 - [format thousands] (1997)