Re: [WebDNA] Cookie Enabled/Disabled

This WebDNA talk-list message is from

2013


It keeps the original formatting.
numero = 110841
interpreted = N
texte = --Apple-Mail=_9CDDDA51-0D75-4C45-B391-611B96DB58DF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Tom The first one, the serverside is exactly the same as setting a cookie = and then testing for it on the next page as you suggested earlier, if = you try the demo you will see that it redirects. I think that the JS may be the way to go, but because of it's client = side scripting it means that I really need to go back to the serverside = test. Thanks for your help :) Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 7 Nov 2013, at 7:08 pm, Tom Duke wrote: > Well I learn something new every day: >=20 > http://sveinbjorn.org/cookiecheck >=20 > And it looks like modernizr.js can also test for cookies: >=20 > = https://github.com/Modernizr/Modernizr/commit/33f00fbbeb12e92bf24711ea386e= 722cce6f60cc >=20 > - Tom >=20 >=20 >=20 > Sent from my iPhone >=20 > On 6 Nov 2013, at 23:46, WebDNA wrote: >=20 >> It doesn't prove that the visitor has cookies disabled, but it does = prove that the cookie you were trying to set was not successful. >>=20 >>=20 >> Regards >>=20 >> Stuart Tremain >> IDFK Web Developments >> AUSTRALIA >> webdna@idfk.com.au >>=20 >>=20 >>=20 >>=20 >> On 7 Nov 2013, at 10:40 am, Tom Duke wrote: >>=20 >>> Stuart, >>>=20 >>> Was thinking it was an obvious answer ;-) >>>=20 >>> Pretty sure that's the only way though. >>>=20 >>> - Tom >>>=20 >>>=20 >>>=20 >>>=20 >>> Sent from my iPhone >>>=20 >>> On 6 Nov 2013, at 23:32, WebDNA wrote: >>>=20 >>>> Thanks Tom >>>>=20 >>>> I was wondering if there was another way :) >>>>=20 >>>>=20 >>>> Regards >>>>=20 >>>> Stuart Tremain >>>> IDFK Web Developments >>>> AUSTRALIA >>>> webdna@idfk.com.au >>>>=20 >>>>=20 >>>>=20 >>>>=20 >>>> On 7 Nov 2013, at 10:30 am, Tom Duke = wrote: >>>>=20 >>>>> Stuart, >>>>>=20 >>>>> Set a cookie and then check if it exists. If not cookies are not = enabled.=20 >>>>>=20 >>>>> Requires two hits on the site - so means you have to do a redirect = - or inform the punter after an action such as an attempted login. >>>>>=20 >>>>> - Tom >>>>>=20 >>>>>=20 >>>>>=20 >>>>>=20 >>>>>=20 >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>> Digital Revolutionaries >>>>> 1st Floor, Castleriver House >>>>> 14-15 Parliament Street >>>>> Temple Bar,Dublin 2 >>>>> Ireland >>>>> ---------------------------------------------- >>>>> [t]: + 353 1 4403907 >>>>> [e]: >>>>> [w]: >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>>=20 >>>>>=20 >>>>> On 6 November 2013 23:15, WebDNA wrote: >>>>> Does anyone have a serverside WebDNA method for displaying if = cookies are enabled/disabled ? >>>>>=20 >>>>>=20 >>>>> Regards >>>>>=20 >>>>> Stuart Tremain >>>>> IDFK Web Developments >>>>> AUSTRALIA >>>>> webdna@idfk.com.au >>>>>=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 >>> --------------------------------------------------------- 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 > --------------------------------------------------------- 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=_9CDDDA51-0D75-4C45-B391-611B96DB58DF Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Tom

The first one, the serverside = is exactly the same as setting a cookie and then testing for it on the = next page as you suggested earlier, if you try the demo you will see = that it redirects.

I think that the JS may be = the way to go, but because of it's client side scripting it means that I = really need to go back to the serverside = test.

Thanks for your help = :)

Regards

Stuart = Tremain
IDFK Web Developments
AUSTRALIA




On 7 Nov 2013, at 7:08 pm, Tom Duke <tom@revolutionaries.ie> = wrote:

Well I learn something new every day:


And it looks like modernizr.js can also test for = cookies:


- Tom



Sent from my = iPhone

On = 6 Nov 2013, at 23:46, WebDNA <webdna@idfk.com.au> = wrote:

It = doesn't prove that the visitor has cookies disabled, but it does prove = that the cookie you were trying to set was not = successful.


Regards

Stuart = Tremain
IDFK Web Developments
AUSTRALIA




On 7 Nov 2013, at 10:40 am, Tom Duke <tom@revolutionaries.ie> = wrote:

Stuart,

Was thinking it was = an obvious answer ;-)

Pretty sure that's the = only way though.

- = Tom




Sent from my = iPhone

On 6 Nov 2013, at 23:32, WebDNA <webdna@idfk.com.au> = wrote:

Thanks Tom

I was wondering if = there was another way :)


Regards

Stuart = Tremain
IDFK Web Developments
AUSTRALIA




On 7 Nov 2013, at 10:30 am, Tom Duke <tom@revolutionaries.ie> = wrote:

Stuart,

Set a cookie = and then check if it exists.  If not cookies are not = enabled. 

Requires two hits on the site - = so means you have to do a redirect - or inform the punter after an = action such as an attempted login.

- Tom





=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Digital Revolutionaries
1st Floor, Castleriver House
14-15 Parliament Street
Temple = Bar,Dublin = 2
Ireland
----------------------------------------------
[t]: + = 353 1 4403907
[e]: <mailto:tom@revolutionaries.ie>
[w]: <http://www.revolutionaries.ie/>
=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


On 6 November 2013 23:15, WebDNA = <webdna@idfk.com.au> = wrote:
Does anyone have a serverside WebDNA method for displaying if cookies = are enabled/disabled ?


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 . To unsubscribe, E-mail to: archives: http://mail.webdna.us/l= ist/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/l= ist/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/l= ist/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/l= ist/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/l= ist/talk@webdna.us Bug Reporting: support@webdna.us

= --Apple-Mail=_9CDDDA51-0D75-4C45-B391-611B96DB58DF-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Cookie Enabled/Disabled (WebDNA 2013)
  2. Re: [WebDNA] Cookie Enabled/Disabled (Tom Duke 2013)
  3. Re: [WebDNA] Cookie Enabled/Disabled (WebDNA 2013)
  4. Re: [WebDNA] Cookie Enabled/Disabled (Tom Duke 2013)
  5. Re: [WebDNA] Cookie Enabled/Disabled (WebDNA 2013)
  6. Re: [WebDNA] Cookie Enabled/Disabled (Tom Duke 2013)
  7. [WebDNA] Cookie Enabled/Disabled (WebDNA 2013)
--Apple-Mail=_9CDDDA51-0D75-4C45-B391-611B96DB58DF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Tom The first one, the serverside is exactly the same as setting a cookie = and then testing for it on the next page as you suggested earlier, if = you try the demo you will see that it redirects. I think that the JS may be the way to go, but because of it's client = side scripting it means that I really need to go back to the serverside = test. Thanks for your help :) Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 7 Nov 2013, at 7:08 pm, Tom Duke wrote: > Well I learn something new every day: >=20 > http://sveinbjorn.org/cookiecheck >=20 > And it looks like modernizr.js can also test for cookies: >=20 > = https://github.com/Modernizr/Modernizr/commit/33f00fbbeb12e92bf24711ea386e= 722cce6f60cc >=20 > - Tom >=20 >=20 >=20 > Sent from my iPhone >=20 > On 6 Nov 2013, at 23:46, WebDNA wrote: >=20 >> It doesn't prove that the visitor has cookies disabled, but it does = prove that the cookie you were trying to set was not successful. >>=20 >>=20 >> Regards >>=20 >> Stuart Tremain >> IDFK Web Developments >> AUSTRALIA >> webdna@idfk.com.au >>=20 >>=20 >>=20 >>=20 >> On 7 Nov 2013, at 10:40 am, Tom Duke wrote: >>=20 >>> Stuart, >>>=20 >>> Was thinking it was an obvious answer ;-) >>>=20 >>> Pretty sure that's the only way though. >>>=20 >>> - Tom >>>=20 >>>=20 >>>=20 >>>=20 >>> Sent from my iPhone >>>=20 >>> On 6 Nov 2013, at 23:32, WebDNA wrote: >>>=20 >>>> Thanks Tom >>>>=20 >>>> I was wondering if there was another way :) >>>>=20 >>>>=20 >>>> Regards >>>>=20 >>>> Stuart Tremain >>>> IDFK Web Developments >>>> AUSTRALIA >>>> webdna@idfk.com.au >>>>=20 >>>>=20 >>>>=20 >>>>=20 >>>> On 7 Nov 2013, at 10:30 am, Tom Duke = wrote: >>>>=20 >>>>> Stuart, >>>>>=20 >>>>> Set a cookie and then check if it exists. If not cookies are not = enabled.=20 >>>>>=20 >>>>> Requires two hits on the site - so means you have to do a redirect = - or inform the punter after an action such as an attempted login. >>>>>=20 >>>>> - Tom >>>>>=20 >>>>>=20 >>>>>=20 >>>>>=20 >>>>>=20 >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>> Digital Revolutionaries >>>>> 1st Floor, Castleriver House >>>>> 14-15 Parliament Street >>>>> Temple Bar,Dublin 2 >>>>> Ireland >>>>> ---------------------------------------------- >>>>> [t]: + 353 1 4403907 >>>>> [e]: >>>>> [w]: >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>>>=20 >>>>>=20 >>>>> On 6 November 2013 23:15, WebDNA wrote: >>>>> Does anyone have a serverside WebDNA method for displaying if = cookies are enabled/disabled ? >>>>>=20 >>>>>=20 >>>>> Regards >>>>>=20 >>>>> Stuart Tremain >>>>> IDFK Web Developments >>>>> AUSTRALIA >>>>> webdna@idfk.com.au >>>>>=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 >>> --------------------------------------------------------- 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 > --------------------------------------------------------- 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=_9CDDDA51-0D75-4C45-B391-611B96DB58DF Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Tom

The first one, the serverside = is exactly the same as setting a cookie and then testing for it on the = next page as you suggested earlier, if you try the demo you will see = that it redirects.

I think that the JS may be = the way to go, but because of it's client side scripting it means that I = really need to go back to the serverside = test.

Thanks for your help = :)

Regards

Stuart = Tremain
IDFK Web Developments
AUSTRALIA




On 7 Nov 2013, at 7:08 pm, Tom Duke <tom@revolutionaries.ie> = wrote:

Well I learn something new every day:


And it looks like modernizr.js can also test for = cookies:


- Tom



Sent from my = iPhone

On = 6 Nov 2013, at 23:46, WebDNA <webdna@idfk.com.au> = wrote:

It = doesn't prove that the visitor has cookies disabled, but it does prove = that the cookie you were trying to set was not = successful.


Regards

Stuart = Tremain
IDFK Web Developments
AUSTRALIA




On 7 Nov 2013, at 10:40 am, Tom Duke <tom@revolutionaries.ie> = wrote:

Stuart,

Was thinking it was = an obvious answer ;-)

Pretty sure that's the = only way though.

- = Tom




Sent from my = iPhone

On 6 Nov 2013, at 23:32, WebDNA <webdna@idfk.com.au> = wrote:

Thanks Tom

I was wondering if = there was another way :)


Regards

Stuart = Tremain
IDFK Web Developments
AUSTRALIA




On 7 Nov 2013, at 10:30 am, Tom Duke <tom@revolutionaries.ie> = wrote:

Stuart,

Set a cookie = and then check if it exists.  If not cookies are not = enabled. 

Requires two hits on the site - = so means you have to do a redirect - or inform the punter after an = action such as an attempted login.

- Tom





=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Digital Revolutionaries
1st Floor, Castleriver House
14-15 Parliament Street
Temple = Bar,Dublin = 2
Ireland
----------------------------------------------
[t]: + = 353 1 4403907
[e]: <mailto:tom@revolutionaries.ie>
[w]: <http://www.revolutionaries.ie/>
=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


On 6 November 2013 23:15, WebDNA = <webdna@idfk.com.au> = wrote:
Does anyone have a serverside WebDNA method for displaying if cookies = are enabled/disabled ?


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 . To unsubscribe, E-mail to: archives: http://mail.webdna.us/l= ist/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/l= ist/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/l= ist/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/l= ist/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/l= ist/talk@webdna.us Bug Reporting: support@webdna.us

= --Apple-Mail=_9CDDDA51-0D75-4C45-B391-611B96DB58DF-- WebDNA

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:

TIP OF THE DAY (2004) Bug or syntax error on my part? (1997) % (mod) was looping table rows (1999) One more try (1997) Price recalc based on quantity (1997) Strange Form Occurrence on Log In Pages (2005) docs for WebCatalog2 (1997) Running 2 two WebCatalog.acgi's (1996) NT version (1997) Expiration of Carts (1997) Bug? (1997) WebCat name recognition (was MacFinder -- a new WebDNA web site) (1998) Secure server question (1997) AOL and webcat (1998) [OT] MacWorld Expo (2004) Which GUI HTML editors work with WC ? (1997) If then confusion (2004) Formating Tables w/[founditems] (1998) Country & Ship-to address & other fields ? (1997) Buying sans cart (1997)