Get Browser to send both If-None-Match and If-Modified-Since

remneraSpeers

New Member
My Browser isn't sending back an If-Modified-Since Header for PHP generated Contenton the first request my script sends:\[code\](Status-Line) HTTP/1.1 200 OKDate Thu, 21 Jan 2010 08:55:25 GMTServer Apache/2.2.11 (Win32) PHP/5.2.9-1X-Powered-By PHP/5.2.9-1Pragma no-cachex-ua-compatible IE=8;FF=3;OtherUA=4Last-Modfied Sat, 02 Jan 2010 02:02:20 GMTContent-Length 28453Etag b98e0795b509be20146f58e06fbb624fKeep-Alive timeout=5, max=90Connection Keep-AliveContent-Type image/png\[/code\]it on the second request it sends:\[code\](Request-Line) GET /kincumberunitingchurch/banner_image.php?id=1 HTTP/1.1Host localhostUser-Agent Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.0.17) Gecko/2009122116 Firefox/3.0.17Accept image/png,image/*;q=0.8,*/*;q=0.5Accept-Language en-us,en;q=0.5Accept-Encoding gzip,deflateAccept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7Keep-Alive 300Connection keep-aliveReferer http://localhost/kincumberunitingchurch/index.php?sid=tgl9jq3f71nau3cj9vps6pna03Cookie sid=tgl9jq3f71nau3cj9vps6pna03; PHPSESSID=m0jvven6d7l65pl6odm9ecfnt4If-None-Match b98e0795b509be20146f58e06fbb624fCache-Control max-age=0\[/code\]for other files the sever sends first:\[code\](Status-Line) HTTP/1.1 200 OKDate Thu, 21 Jan 2010 08:55:25 GMTServer Apache/2.2.11 (Win32) PHP/5.2.9-1Last-Modified Wed, 30 Dec 2009 02:40:58 GMTEtag "1000000013d35-40d9-47be9117f6280"Accept-Ranges bytesContent-Length 16601Keep-Alive timeout=5, max=84Connection Keep-AliveContent-Type image/png\[/code\]and my browser send the following on the next request: \[code\](Request-Line) GET /kincumberunitingchurch/img/cbuttons.png HTTP/1.1Host localhostUser-Agent Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.0.17) Gecko/2009122116 Firefox/3.0.17Accept image/png,image/*;q=0.8,*/*;q=0.5Accept-Language en-us,en;q=0.5Accept-Encoding gzip,deflateAccept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7Keep-Alive 300Connection keep-aliveReferer http://localhost/kincumberunitingchurch/mystyle.cssCookie sid=tgl9jq3f71nau3cj9vps6pna03; PHPSESSID=m0jvven6d7l65pl6odm9ecfnt4If-Modified-Since Wed, 30 Dec 2009 02:40:58 GMTIf-None-Match "1000000013d35-40d9-47be9117f6280"Cache-Control max-age=0\[/code\]why would it send the If-Modified-Since header
 
Back
Top