DZIEDI Posted November 25, 2009 Report Share Posted November 25, 2009 Sveiki! Tātad, problēma sekojoša, ir nodefinēti šādi php headeri: header("Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0"); header("Content-type: text/html; charset=utf-8"); header("Expires: Thu, 19 Nov 1981 08:52:00 GMT"); header("Pragma: no-cache"); bet browseri turpina cachot. Lūk ko parāda Google Chrome Developer Tool: Cache-Control:public, max-age=10800 Connection:Keep-Alive Content-Length:1566 Content-Type:text/html; charset=utf-8 Date:Wed, 25 Nov 2009 19:08:06 GMT Expires:Wed, 25 Nov 2009 22:08:06 GMT Keep-Alive:timeout=5, max=100 Last-Modified:Tue, 03 Nov 2009 16:07:19 GMT Pragma:no-cache Server:Apache/2.2.8 (Win32) PHP/5.2.6 X-Powered-By:PHP/5.2.6 Kāpēc atšķiras cache-control un expires? Lūdzu palīdziet. Quote Link to comment Share on other sites More sharing options...
DZIEDI Posted November 25, 2009 Author Report Share Posted November 25, 2009 Pēc ilgiem un gariem eksperimentiem problēma atrisināta (bet ne izprasta). Bija skripts, kas liek session mainīgos glabāt mysql datu bāzē, kurš atradās pēc header sūtīšanas. Samainīju skriptus ar vietām un viss strādā. Quote Link to comment Share on other sites More sharing options...
Mr.Key Posted November 26, 2009 Report Share Posted November 26, 2009 Iespējams, skripts, kuru nomainīji vietām, aizvietoja headerus. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.