Re: PHP 5.2 + IE 7 = HTTP 304 in login procedure [SOLVED]
| From: | Yannick Warnier | Date: | Tue, 13 Mar 2007 18:56:04 +0000 |
| Subject: | Re: PHP 5.2 + IE 7 = HTTP 304 in login procedure [SOLVED] | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-250481@lists.php.net to get a copy of this message | ||
Le lundi 12 mars 2007 à 18:04 +0100, Tijnema ! a écrit :
> On 3/12/07, Doctorrock <doctorrock83@gmail.com> wrote:
> >
> > 2007/3/12, Yannick Warnier <ywarnier@beeznest.org>:
> > >
> > > The problem wasn't quite there. The 304 response was correct and didn't
> > > really cause a problem in IE7.
> > >
> > > In fact, the problem was somewhere else. As mentioned by someone in the
> > > PHP doc comments (http://be.php.net/manual/en/ref.session.php#64125 ),
> > > IE is the only one to reject urls of the likes of
> > > http://example_demo.littleweb.com/ because of the
> > > "_" character.
> > >
> > > This means that basically IE will display the site without a problem,
> > > but will not register any cookie, and of course will not mention it, so
> > > it makes it all much easier to detect. The fact that FF and Opera get a
> > > session each does not help at all in finding the problem.
> > >
> > > Changing the URL to http://exampledemo.littleweb.com/
> > > will work
> > perfectly.
> > >
> > > Yannick
> >
> >
> > According to RFC1033 (
> >
> > http://www.camtp.uni-mb.si/books/Internet-Book/DNS_NameFormat.html
> > ),
> > underscores are forbidden in DNS names, including subdomains.
>
> Yeah, meaning that the program where you created the subdomain with is not
> following the RFC standards.....
> Some programmers have hard time following standards...
Yes... Apache 2, namely (what a bunch of inexperienced developers,
really ;-) ).
But you can't know all the web RFC standards by heart, can you?
The problem also is that the browsers don't give any warning. IE
displays it *but* does not record cookies. Others just work completely
with it.
Yannick