A simple test (on your own browser) is to disable cookies completely.
Then call a page with this
cfid=#cfid#
cftoken=#cftoken#
the values will be shown...however if you call the page again the values will change because the browser has been told not to store them and the server sends new v
I decided to go with the request scope if the cookies are disabled.
Regards,
cfcoder
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
I decided to go with the request scope if the cookies are disabled.
Regards,
cfcoder
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
Thanks Pascal and everybody else who replied. I'll give this a try. Thanks
regards,
cfcoder
REF:
You can't know if cookies are enabled from the server. Als, using
session vars won't help much because they use cookies.
If you are on CFMX:
- Store info in session vars
- Keep session alive for u
Pascal Peters wrote:
> You can't reliably know if a visitor blocks cookies. Your method mill
> work most of the time, but the only thing you can really tell is that
> the cookie isn't sent to the server, not why it wasn't sent.
I'll grant you that, but if you're building a site that requires
coo
ill give you an idea. If they don't exist, it is *likely* that
cookies are blocked.
Pascal
> -Original Message-
> From: Rick Root [mailto:[EMAIL PROTECTED]
> Sent: 13 July 2004 16:15
> To: CF-Talk
> Subject: Re: Checking if cookies are disabled in the browser
>
> P
Pascal Peters wrote:
> You can't know if cookies are enabled from the server.
I did one site where we popped up a window that set a cookie, then
refreshed to a second page to check for the existence of the cookie, and
if it existed, closed the window.. if the cookie didn't exist, it
displayed
cation and the
addtoken="yes" attribute in cflocation.
Pascal
> -Original Message-
> From: cf coder [mailto:[EMAIL PROTECTED]
> Sent: 13 July 2004 15:56
> To: CF-Talk
> Subject: Checking if cookies are disabled in the browser
>
> I'm sure this has been dis
I'm sure this has been discussed on this board on numerous occassions. I can't find any thread that shows how this is done.
Can somebody please programatically show me how to check if the browser cookies are disabled.
if cookies enabled do this:
else do this:
Best regards,
cfcoder
[Todays
9 matches
Mail list logo