On Wed, Jun 15, 2011 at 6:51 PM, Tyron Madlener <tyronx(a)gmail.com> wrote:
On Wed, Jun 15, 2011 at 3:53 PM, Michal Čihař
<michal(a)cihar.com> wrote:
Hi
Dne Wed, 15 Jun 2011 08:58:46 -0400
Marc Delisle <marc(a)infomarc.info> napsal(a):
server_status.php uses header_remove() that
requires PHP 5.3. Was it
discussed to change the requirement for minimum PHP version.
I don't think the header manipulations should not be needed at all.
Tyron are they really needed?
I had issues with the old pChart pie not refreshing properly when the
Last-Modified header was set. I just tested it with leaving the
header, all ajax requests responses are as they should be. So we can
safely remove the header_remove().
Nope, the problem still appears. AJAX request get cached. And I
finally found the source of it.
In session.inc.php the function call session_cache_limiter('private');
causes to add the Last-Modified header.
I don't know why but on repeated ajax requests, my chrome caches them,
whatever the Last-Modified header value is. Can we change that call to
session_cache_limiter ('nocache');? Or alternatively move up the
$GLOBALS['is_ajax_request'] setting code in common.inc.php to before
session.inc.php gets included and make the session_cache_limiter()
call dependent on whether it is an ajax request.
Oddly enough, adding the charset utf-8 header a line lower broke all
jquery get requests. The success handler is not being called anymore.
--
Michal Čihař |
http://cihar.com |
http://blog.cihar.com
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Phpmyadmin-devel mailing list
Phpmyadmin-devel(a)lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel