[PHP] Cache control

2005-04-26 Thread William Stokes
Hello, I have an web application that checks users rights to specific parts of the apllication at the beginning of each page. However I noticed, with the help of Jason Barnett, that opera caches pages locally and the users rights check fails. The application works fine with Firefox and IE. So I

Re: [PHP] PHP, Cache Control and Mac IE

2004-02-18 Thread Gareth Williams
Hello Roger, If you find a solution, I would also be interested to to see it. I have tried almost everything to get Mac IE to not use the cache. It just doesn't seem to accept anything. On 18 Feb 2004, at 18:58, Roger Spears wrote: Hello List, I am using the following in a PHP script: head

[PHP] PHP, Cache Control and Mac IE

2004-02-18 Thread Roger Spears
Hello List, I am using the following in a PHP script: header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header("Cache-Control: no-store, no-cache, must-revalidate"); header("Cache-Control: post-check=0, pre-check=0", false); header("P

RE: [PHP] cache control with javascript

2003-10-21 Thread Joshua Minnie
ECTED] Sent: Tuesday, October 21, 2003 11:56 AM To: Joshua Minnie Cc: [EMAIL PROTECTED] Subject: Re: [PHP] cache control with javascript On 2003.10.21, at 22:28 Asia/Tokyo, Joshua Minnie wrote: > The "it" that you were asking about was the server. The javascript > file is >

Re: [PHP] cache control with javascript

2003-10-21 Thread - Edwin -
On 2003.10.21, at 22:28 Asia/Tokyo, Joshua Minnie wrote: The "it" that you were asking about was the server. The javascript file is actually a PHP file that produces the JavaScript that I need. I only have one access to a database and a while loop to generate the code. Here is the code piece

Re: [PHP] cache control with javascript

2003-10-21 Thread Joshua Minnie
The "it" that you were asking about was the server. The javascript file is actually a PHP file that produces the JavaScript that I need. I only have one access to a database and a while loop to generate the code. Here is the code pieces: [code] // already connected to the db $sql = "SELECT * FR

Re: [PHP] cache control with javascript

2003-10-20 Thread - Edwin -
On Mon, 20 Oct 2003 14:44:50 -0400 "Joshua Minnie" <[EMAIL PROTECTED]> wrote: > Does anybody know how I can make force a javascript file (written in > PHP) to be cached if the user agent allows it? > > Here is the situation: > I am creating a dropdown menu system that contains a customer list, >

[PHP] cache control with javascript

2003-10-20 Thread Joshua Minnie
Does anybody know how I can make force a javascript file (written in PHP) to be cached if the user agent allows it? Here is the situation: I am creating a dropdown menu system that contains a customer list, loaded from a database. This list is written to the javascript file for the menu. The menu

[PHP] cache control and cookies...

2002-05-31 Thread Gerard Samuel
I dont know too much about cache control, but some of the users who use my script, has problems with cookies. They are able to log in and the cookie is set and they click a link and get booted out. This past week, we noticed that when we commented out header ("Expires: Mon, 26 Jul 1997 05:00:0

RE: [PHP] Cache Control

2002-05-31 Thread Jon Haworth
Hi Jeroen, > I want info on the internet where i can find a manuel. http://www.google.com/search?q=http+cache+control+headers > the page is a php script and sometimes it comes out of a proxy but > that is not allowed. It's not something you have absolute control over - some proxies are configu

Fwd: RE: [PHP] Cache Control

2002-05-31 Thread Jeroen Timmers
>Date: Fri, 31 May 2002 12:13:40 +0200 >To: Jon Haworth <[EMAIL PROTECTED]> >From: Jeroen Timmers <[EMAIL PROTECTED]> >Subject: RE: [PHP] Cache Control > >I want info on the internet where i can find a manuel. > >I want a statement that de page always ref

RE: [PHP] Cache Control

2002-05-31 Thread Jon Haworth
Hi Jeroen, > > > Where i can find more help about cache control > > > > http://www.google.com/search?q=help+about+cache+control > > Or did you mean something a bit more specific? > > indeed > more specific Well, seeing as you're not sharing the actual question with the mailing list, this answer

RE: [PHP] Cache Control

2002-05-31 Thread Jeroen Timmers
indeed more specific Jeroen At 11:00 31-5-2002 +0100, you wrote: >Hi Jeroen, > > > Where i can find more help about cache control > >Here: http://www.google.com/search?q=help+about+cache+control (495,000 >results) > >Or did you mean something a bit more specific? > >Cheers >Jon > >-- >PHP Gener

RE: [PHP] Cache Control

2002-05-31 Thread Jon Haworth
Hi Jeroen, > Where i can find more help about cache control Here: http://www.google.com/search?q=help+about+cache+control (495,000 results) Or did you mean something a bit more specific? Cheers Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/un

[PHP] Cache Control

2002-05-31 Thread Jeroen Timmers
Where i can find more help about cache control Thx Jeroen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Cache-Control: no-cache and browser back button problem

2002-02-10 Thread Steven Haryanto
why does the cache control header generated by php (under session_cache_limiter = nocache) needs to have no-store? It makes pressing Back in the browser requests a new version of the page (which is unwanted in some situations, e.g. while filling form and needs to edit a few fields before re-su

[PHP] Cache Control

2001-11-18 Thread Jeff Sittler
How do I set a page to cache for only 5 minutes? In ASP, I ahve used: <% Response.CacheControl = "no-cache" Response.AddHeader "Pragma", "no-cache" Response.Expires = -1 if Session("svUsername") = "" then response.redirect "../login/accessDenied.asp" %> and I could just change the Response.Ex

RE: [PHP] Cache Control with forms

2001-04-20 Thread Diego Fulgueira
m: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Thursday, 19 April, 2001 8:34 PM To: Diego Fulgueira Cc: Php-General Subject: Re: [PHP] Cache Control with forms > Hi everyone! I have the following problem: > I don't want any of my site's pages to be saved on any browser's cac

Re: [PHP] Cache Control with forms

2001-04-19 Thread Rasmus Lerdorf
> Hi everyone! I have the following problem: > I don't want any of my site's pages to be saved on any browser's cache. > Yet, I want all HTML forms to keep their data when the user changes to > another page without submiting and then comes back using the back button. > > I have seen changing the

[PHP] Cache Control with forms

2001-04-19 Thread Diego Fulgueira
Hi everyone! I have the following problem: I don't want any of my site's pages to be saved on any browser's cache. Yet, I want all HTML forms to keep their data when the user changes to another page without submiting and then comes back using the back button. I have seen changing the session.cac