Re: PHP 5.2 + IE 7 = HTTP 304 in login procedure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Perhaps try sending various no-cache headers and a Date-Modified with
the current time-stamp in it.

You never know with IE what's actually going to work, and you could
mess up other browsers, though, so do lots of browser tests...

On Sun, March 11, 2007 6:01 pm, Yannick Warnier wrote:
> Hello,
>
> One of my clients is currently having a problem when logging into one
> of
> my site.
> Investigating further (because it works with Firefox with his
> login/pass
> from my machine), it appears the problem is caused for an obscure
> reason
> when IE7 requests the page and obviously does a "conditional GET",
> which
> only loads what's necessary for this login to proceed when the page
> has
> been updated since last time. The returned HTTP header is 304: Not
> modified, which is not returned with other browsers (others get a 200
> header).
> This is true for PHP pages as well as included CSS files, which
> triggers
> the question of having any link to PHP at all...
>
> I've looked on Google quite a bit, and if I have found people having
> the
> same kind of problems, they generally report it along with the fact
> that
> they use incorrectly the header('HTTP/1.1 ...'); or
> header('Status: ...'); function, so the fix is generally a change of
> these.
>
> However, my application doesn't set any of these headers from inside
> the
> PHP code.
>
> Before I start getting into the whole Apache2 config (which I'm not to
> good at) and try a lot of funny things in a bid to discover one
> element
> that would cause this, I'd like to know...
>
> Does anybody know the problem and have already found a fix?
>
> Thanks,
>
> Yannick
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux