Page 1 of 1

Cookie Enabled Browser ?

Posted: Wed Apr 23, 2003 10:19 am
by Omani4Ever
Hello,

I wanted to know to check if a browser is cookie ebabled using PHP ?
and using Perl if possible as well ? :roll:

Thanks :!:

Posted: Wed Apr 23, 2003 10:38 am
by oQEDo
In PHP just create a cookie and then check for its existence.
If its there then cookies are enabled if its not then cookies are disabled :)

Posted: Wed Apr 23, 2003 10:53 am
by twigletmac
oQEDo wrote:In PHP just create a cookie and then check for its existence.
You do have to refresh the page to check though.

Mac

Posted: Wed Apr 23, 2003 11:23 am
by m3mn0n
I would make a mini iframe within your page to do so. Then refresh the iframe, it won't refresh the other content of the page. It works well in most senerios. :)

Posted: Wed Apr 23, 2003 4:43 pm
by Omani4Ever
Oromian wrote:I would make a mini iframe within your page to do so. Then refresh the iframe, it won't refresh the other content of the page. It works well in most senerios. :)
How would you refresh the page in the mini frame though :?: