Page 1 of 1

Having a major problem with back button

Posted: Wed Apr 30, 2003 7:12 am
by GHOLYOAK
Hi,

I have developed a web site using PHP and it works just fine until the back button is pressed.

It would appear that when the back button is pressed not all the source is redisplayed so I end up with no closing </BODY> or </HTML> tags.

But even stranger is that it works fine using an internal IIS server but has this problem on an external Apache server.

I've tried adding no-cache in header() function and various settings with zlib.compression but with no success.

I've check out the HTML and CSS with W3C and all seems OK


Any help would be greatly appreciated !!


Ta !

Posted: Thu May 01, 2003 2:37 am
by []InTeR[]
You'r not using sesions?

I had this problem, that there was something changes in the sesion on the seconed page, but the first page useses this var also.

Sessions ?

Posted: Thu May 01, 2003 3:13 am
by GHOLYOAK
Thanks for that, I am using sessions quite extensively.

I can understand how using sessions might show incorrect data but not how they stop the HTML being redisplayed properly ?

Surely the entire HTML page that was originally displayed correctly should be re-displayed from the browsers cache correctly ?

Also this wouldnt explain how it works OK on an intranet IIS (DEV) but not external internet Apache (LIVE).
[]InTeR[] wrote:You'r not using sesions?

I had this problem, that there was something changes in the sesion on the seconed page, but the first page useses this var also.

Posted: Thu May 01, 2003 5:16 am
by patrikG
As far as I know only IE 5+ has that problem - because it only happened on some very, very few sites I thought it was some XML-problem, but apparently, it can happen when you embed CSS into the document (and who doesn't).

Have you tried another browser?

CSS

Posted: Thu May 01, 2003 6:18 am
by GHOLYOAK
I've tried other versions of IE but no other browsers.

May I ask how you know it can happen with embedded CSS - Is this though past experience or have you read it on another BB.?

patrikG wrote:As far as I know only IE 5+ has that problem - because it only happened on some very, very few sites I thought it was some XML-problem, but apparently, it can happen when you embed CSS into the document (and who doesn't).

Have you tried another browser?