<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2654.45">
<TITLE>Apache 2 problem</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2 FACE="Arial">I'm helping develop a website and to make things a bit easier I copied the info to a Redhat 7.1 box at home using the supplied Apache 1.3. It worked perfectly using my usual Browser Opera on Win95 across a bit of thin ethernet.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">Getting all keen I upgraded to Redhat 8.0, and with it Apache 2. It took a little while but it happily runs my php pages (.phtml suffix) but there is a problem. To get to the members page you need to supply a username & password then the username is registered in a cookie using the php session commands. Once logged in you are free to move around the site and each page should give your username and site credits.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">The problem is that the browser seems to use cached pages so if you go to a previously visited page you just get the old information. The login page is the same page as the members' main page if you try to back to it after a login you just get the login page as if you hadn't logged in. Worse still the logout page is the main index page with a Logout=1 parameter but since the browser doesn't get the main page and uses the cache instead the logout doesn't happen.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">Even more confusing is that Netscape 7 works perfectly and looking at the /etc/httpd/logs/access_log both browsers seem to be requesting the same information. I'm guessing that Opera is doing something like "Get page if newer" but it doesn't realise it is a server parsed php page and so should get new every time. Is there something in the Apache config I'm missing somewhere?</FONT></P>
<P><FONT SIZE=2 FACE="Arial">Both Opera 6.05 and the latest one behave in the same way. I'll try IE if I remember later :-)</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Terry</FONT>
</P>
<CODE><FONT SIZE=3><BR>
<BR>
BBCi at http://www.bbc.co.uk/<BR>
<BR>
This e-mail (and any attachments) is confidential and may contain <BR>
personal views which are not the views of the BBC unless specifically <BR>
stated.<BR>
If you have received it in error, please delete it from your system, do <BR>
not use, copy or disclose the information in any way nor act in <BR>
reliance on it and notify the sender immediately. Please note that the <BR>
BBC monitors e-mails sent or received. Further communication will <BR>
signify your consent to this.<BR>
</FONT></CODE>
</BODY>
</HTML>