[PHP] Prevent IE6 from blocking cookies
Do I a prevent Internet Explorer 6 from blocking cookies (session cookies, etc)? Do I have to setup something in the META HEADERS? Thanks Robert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Prevent IE6 from blocking cookies
On Sat, 2004-06-05 at 11:55, Robert Winter wrote: Do I a prevent Internet Explorer 6 from blocking cookies (session cookies, etc)? Do I have to setup something in the META HEADERS? Thanks Robert I don't think you can override that from a web page. If the user is blocking cookies then the best you can do is show an alternate page telling the user they need to enable cookies to work with your web site. Face it, if web sites could override such settings there would be a lot more malicious web sites out there. -- Scot L. Harris [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Prevent IE6 from blocking cookies
* and then Scot L. Harris declared Face it, if web sites could override such settings there would be a lot more malicious web sites out there. Absolutely. You cant mess with peoples preffered settings. It's EVIL ;-) Best you can do is make provision for those without cookies enabled: Use JS, if (cookies are enabled) { set the damn coookie } else { use sessions... } -- Nick W -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Prevent IE6 from blocking cookies
Nick Wilson wrote: * and then Scot L. Harris declared Face it, if web sites could override such settings there would be a lot more malicious web sites out there. Absolutely. You cant mess with peoples preffered settings. It's EVIL ;-) Best you can do is make provision for those without cookies enabled: Use JS, if (cookies are enabled) { set the damn coookie } else { use sessions... } Of course, sessions use cookies, so that won't work either. ;-) You *can* use URL rewriting to have PHP add the session ID to all of your urls and forms, but this isn't fool-proof. If you really want to support non-cookie sessions, you have to add the session id to all of your urls and forms yourself. -- paperCrane Justin Patrin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Prevent IE6 from blocking cookies
* Thus wrote Justin Patrin ([EMAIL PROTECTED]): Nick Wilson wrote: * and then Scot L. Harris declared Face it, if web sites could override such settings there would be a lot more malicious web sites out there. Absolutely. You cant mess with peoples preffered settings. It's EVIL ;-) Best you can do is make provision for those without cookies enabled: Use JS, if (cookies are enabled) { set the damn coookie } else { use sessions... } Of course, sessions use cookies, so that won't work either. ;-) You *can* use URL rewriting to have PHP add the session ID to all of your urls and forms, but this isn't fool-proof. If you really want to support non-cookie sessions, you have to add the session id to all of your urls and forms yourself. transid helps this a bit. Its possible to enable both cookie/transid methods together. The trick is finding out on the first request which method is going to be used. Curt -- I used to think I was indecisive, but now I'm not so sure. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Prevent IE6 from blocking cookies
On Sat, 5 Jun 2004 12:55:01 -0300, Robert Winter [EMAIL PROTECTED] wrote: Do I a prevent Internet Explorer 6 from blocking cookies (session cookies, etc)? Do I have to setup something in the META HEADERS? Thanks Robert header('P3P: CP=NOI ADM DEV PSAi COM NAV OUR OTRo STP IND DEM'); Won't get aroung cookies just being off, but it lowers the chance of the privacy settings nuking your cookies. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Prevent IE6 from blocking cookies
In IE you can turn ON or OFF accepting cookies, select Tools, Options, Security, Advanced, cookies. But the web server can't command IE to enable cookies. Do I a prevent Internet Explorer 6 from blocking cookies (session cookies, etc)? Do I have to setup something in the META HEADERS? Thanks Robert -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php