[PHP] Tryng To Prevent Caching on IE 5-6.0

2003-03-07 Thread Kurst
Hello,

I've looked for the answer to this for a while and I have no broken down for
asking for help.

My problem is I have a few dynamic PHP sites.  And all of them seem to be
doing the same problem to me no matter what or how hard I try.

All my sites seem to be caching heavily on IE 5 and 6 and not on any other
browser.

This is happening on the front page of the site the index.php page, which
generates unique custom content for the user that is time critical for them
to see.  Since it's the first page that is hit on the site I can't put
anything snazzy like extensions or anything to make it look more dynamic (At
least not that I know of ;) ).

I am currently using apache 1.3 and PHP 4.2.3 on one system.  On another
system I am using Apache 2.0.40 and PHP 4.2.2

On one site I have (currently) no cache control on the meta tags and have
all the cache control in the header of the html. (previously I had meta tags
in there all over the place and well it didn't help either :( )

My headers (Currently) for one site look like this

HTTP/1.1 200 OK
Date: Sat, 08 Mar 2003 07:22:04 GMT
Server: Apache/2.0.40 (Red Hat Linux)
Accept-Ranges: bytes
X-Powered-By: PHP/4.2.2
Last-Modified: Sat, 08 Mar 2003 07:22:04 GMT
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Pragma: no-cache
Cache-Control: no-cache, no-store, pre-check=0, post-check=0,
must-revalidate, max-age=0
Set-Cookie: YA_SESSION_ID=81950aafabc92d23faf4e6e1d786447a; expires=Sun,
09-Mar-03 19:22:04 GMT
Vary: User-Agent
Content-Type: text/html; charset=ISO-8859-1



So any suggestion! Any ideas!  I'm going batty here! 

Thanks and have a good one :)


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Tryng To Prevent Caching on IE 5-6.0

2003-03-08 Thread Kurst


> -Original Message-
> From: Bryan Lipscy [mailto:[EMAIL PROTECTED]
> Sent: Saturday, March 08, 2003 1:38 AM
> To: 'Kurst'; [EMAIL PROTECTED]
> Subject: RE: [PHP] Tryng To Prevent Caching on IE 5-6.0
> 
> Try: header("Cache-control: private");

It's a very good suggestion and I thank you for it but IE is still caching
the data :(.

For those people who are wondering - 
I used almost ever variation of that cache control in the header 
That includes:
The cache-control as the only command, added to my huge cache-control
statement, and put on it's own line.

Anybody else have any suggestions or different ways?

Thanks for the advice :)
I appreciate it!


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Installing Php/Apache/Win98

2001-01-20 Thread Morkai Kurst


I had the same problem, i ended up placing the php4apache.dll in the
apache/modules directory where the rest of the modules for apache are
stored.

Then change the entry in httpd.conf to: LoadModule php4_module
modules/php4apache.dll

everything worked then :)

good luck

Morkai

> I have PHP working like a champ on my WIN 2K computer with IIS.  Now I
> would like to have it on my notebook, so I loaded Apache and have
> following the instructions from Shanx; however, I get the message that
> Apache cannot load php4apache.dll.  It shows the correct path.
>
> What is the best source for help?
>
> Todd
> --
> Todd Cary
> Ariste Software
> [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]