session_start() and cache problem ...

From: Date: Wed, 17 Jan 2001 09:10:35 +0000
Subject: session_start() and cache problem ...
Groups: php.general 
Request: Send a blank email to php-general+get-34997@lists.php.net to get a copy of this message
Hello everybody, I have two websites that use Apache-1.3.12 + PHP-4.0.2 + Oracle8i on Linux RedHat servers. One of them doesn't use the session_start() function. If I do a telnet on port 80 and type in "HEAD / HTTP/1.0" I get the following : HTTP/1.1 200 OK Date: Wed, 17 Jan 2001 08:50:34 GMT Server: Apache/1.3.12 (Unix) (Red Hat/Linux) PHP/4.0.2 X-Powered-By: PHP/4.0.2 Connection: close Content-Type: text/html The other website does use session_start(). A "HEAD / HTTP/1.0" gives me : HTTP/1.1 302 Found Date: Wed, 17 Jan 2001 08:55:49 GMT Server: Apache/1.3.12 (Unix) PHP/4.0.2 X-Powered-By: PHP/4.0.2 Set-Cookie: PHPSESSID=f986837823e67afe58b37bc6e45fd958; path=/ Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-cache, post-check=0, pre-check=0 Pragma: no-cache Set-Cookie: gstr_cookies=Stockage%3DDISQUE; expires=Thu, 18-Jan-01 08:55:50 GMT; path=/ location: /index.php?tester=FALSE Connection: close Content-Type: text/html I have the extra lines : Expires, Cache-Control, Pragama. I would like to get rid of those 3 lines : is it possible and how could I achieve that ? I would appreciate any help. Many thanks. Best Regards. Sam

« previous php.general (#34997) next »