Re: Prevent IE6 from blocking cookies
| From: | Curt Zirzow | Date: | Sat, 05 Jun 2004 20:10:23 +0000 |
| Subject: | Re: Prevent IE6 from blocking cookies | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-187707@lists.php.net to get a copy of this message | ||
* Thus wrote Justin Patrin (papercrane@reversefold.com):
> 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."