SMF Support > SMF 1.1.x Support

IE 6 Bug (Fixable With a Header Send)

(1/3) > >>

NothingLikeRoot:
Hello,

In IE 6 there is a problem with hitting the back button....

Such as I was editing my profile I hit submit but than I hit back really quick, BEFORE it was able to send all the information, because I wanted to add something else... I know have to retype my profile because it was not saved (this is just one exapmle)...

Well in most browsers the text will be still in the text box... But in IE 6 it wont with sessions...

So if you add the PHP call "header("Cache-control: private");" right after session_start() this problem will be fixed and the text will stay in the text box...

Now this is just a problem in IE 6 but this header will not do anything else to any other broswer...

Andrew

O:)

indio:
it works¿?

it's great news¡¡

thks very much

NothingLikeRoot:
Yes this will work, just make sure it is after session_start() in every file it is called...

btw: it dose not HAVE to be RIGHT after it is, it just makes sense because it is a header() called and output to the user can not happen before that like session_start(0 requires, thus the header() will work if sessions_start() dose...

Andrew

[Unknown]:
Hmm, I suppose... but shouldn't you be avoiding the back button anyway?  You could just save it and change the things again.

This is a large reason why an error, like missing the subject, gives you your message back and doesn't take it away.

-[Unknown]

NothingLikeRoot:

--- Quote from: [Unknown] on March 27, 2004, 05:14:34 PM ---This is a large reason why an error, like missing the subject, gives you your message back and doesn't take it away.

--- End quote ---

When you are using Internet Explorer 6.0 when you get a error like this and hit ether "the Back Button" or the like "Back" (which I am assuming is javascript history.back (or something like that)), your text is gone, about %50 of the time if you hit reload it will come back the other 50% it wont.


Andrew

Navigation

[0] Message Index

[#] Next page

Go to full version