Detect if cookies are enabled?

Is there a way to detect if cookies are enabled?
Well if it’s hard to do in html or if it can’t be done at all!

Is there a way to detect cookie-enabling in flash?

AnYthIng!

Determining if cookies are enabled… hmm, I don’t think it is. I believe you need to program a Java applet to write a cookie and try to return it as a test. I have no clue how to do that though.

You can determine of a browser supports cookies, and you can determine if they have Java enabled and such. But I don’t think there is an easy way to test for cookies enabled.

Maybe someone else out there knows of one though :slight_smile:

wel… thx anyway!

hm… I think I could make .swf like it sends a cookie and a few moments later looks for the sended cookie and detects if the cookies are enabled or not…

Hmmm, that might be possible :-\ I don’t know how though.

we used to do it like Syko said, only with JavaScript in the HTML…

Rev:elderly:

Do you remember how?

I would also like to know how to check if cookies are enabled.

I know how to check if you have a browser that supports cookies, but not if they are actually enabled.

we used to set a cooking within the splash page, then try to read the cookie in a main page… If we couldn’t read the cookie, then we assumed cookies were not enabled… :-\

Rev:elderly:

hum… I didn’t think of that before but are the flash cookies (sharedObjects) the same as the html cookies.
I was wondering if they aren’t the same then flash cookies will still work even if html cookies are turned off…

and I noticed that there are some kinda “first-party” and “third-party” cookies. What the heck is the difference between these???