While trying to determine why IE6 was constantly trying to update images we noticed that A4D v4.x wasn't including the expires header for images. We tracked it down to On Web Connection where the 4D 2004 + code replaces the 4D 2003 code. With the 4D 2003 code the header is:

HTTP/1.0 200 OK
Server: 4D_WebStar_D/2004
Date: Thu, 03 May 2007 23:42:12 GMT
Last-Modified: Fri, 07 Nov 2003 04:01:30 GMT
Content-Length: 43
Content-Type: image/gif
Connection: close
Expires: Fri, 04 May 2007 23:42:12 GMT

with the 4D 2004+ code the header is:

HTTP/1.0 200 OK
Server: 4D_WebStar_D/2004
Date: Thu, 03 May 2007 23:48:02 GMT
Last-Modified: Fri, 07 Nov 2003 04:01:30 GMT
Content-Length: 43
Content-Type: image/gif

We modified A4D_PostExecuteHook to add the expires header but we were wondering if anybody else have noticed this and what you did to fix the problem.

We are using 2004.6 with 4D webstar.

---------------------------------------------------
Flemming Andersen     AKTIV Software Corporation
[EMAIL PROTECTED]   723 Paskin Way
Tel: 250.727.3442       Victoria, BC  V8Z 6N4, Canada
Fax: 250.727.3740       http://www.aktiv.com

_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/

Reply via email to