PDA

View Full Version : New Message Popup















Barry_White
4th June 2009, 09:46 PM
Every time after looking at a thread and go back to the search result the New Personal Message pop up window pops up. I deleted all PM's but it still keeps popping even though the message box is empty.

This has never happened before.

This is the box that keeps popping up.

DJ’s Timber
4th June 2009, 09:52 PM
Are you using the back button on your browser?

It always pop-ups if you use the back button but if you hit new posts or today's post it should clear it

Barry_White
4th June 2009, 10:00 PM
Are you using the back button on your browser?

It always pop-ups if you use the back button but if you hit new posts or today's post it should clear it

Hi DJ
I have always used the back button on my browser for the last five years and it has only just started this evening and have had several PM's over the last few days and I have also clicked on Today's Posts a couple of times. Maybe I should get out of the current session and log in again.

DJ’s Timber
4th June 2009, 10:06 PM
Sounds like it might be a corrupt cookie or cache then.

As you say it might pay to log out and clear your cache or cookies depending on your browser and log back in. Hopefully that'll clear it up.

petersemple
5th June 2009, 10:46 AM
I have found that if I use the back button, the message will pop up again. If I hit the refresh button, then it stops popping up. I guess it must be stored in the browser cache and the refresh button gets rid of it.

Peter

silentC
5th June 2009, 11:02 AM
The popup message is produced by Javascript embedded in the page. If you hit the back button to return to a page that has embedded Javascript, the script will execute again. If you refresh the page, it will be rebuit without the embedded script, because the conditions that caused it to be embedded are no longer true (ie you have read the PM).

Barry_White
5th June 2009, 11:29 AM
The interesting thing is I have been doing the same thing for five years and this is the first time this has happened. Anyway it finally stopped doing it of its own accord. Strange!!!!!! Actually I had read the message three times and it still kept doing it.

silentC
5th June 2009, 11:43 AM
Browsers behave strangely sometimes. You ought to try writing web-based applications that rely on them to behave a certain way every time. I've had different behaviour from the same web page before and after deleting temporary files. Quite annoying at times.

Rookie
5th June 2009, 02:20 PM
Not sure if it's relevant but I have the attached in my temporary files settings in IE. Might be to do with that, although I would still have no idea why it would change dynamically.

silentC
5th June 2009, 02:34 PM
That's the default setting. That property controls how page caching is handled - your browser will keep a copy of the page locally on your computer and that setting controls how often the browser will check for a new version. But it should only have an effect when you reload a page - hitting the back button should not reload the page (however I have seen it happen when the temporary internet files cache is getting a bit large).

I usually have mine configured to check for a new version every time, but that is mainly because when I'm testing, I want the browser to go back to the web server every time it loads the page, not just when it feels like it.

"Automatically" should work fine for most people because the browser will perform the appropriate action based on the page/file type. These forum pages should never be cached because they are 'dynamic content' meaning that they are built on the fly by the server - the contents can/will be different every time you load the page. Things that are normally cached are flat HTML pages and images. The browser will normally ask the server if the particular file has been updated since the last time it was displayed. If the answer is "no" then it may use the cached version instead.

So in short, that setting is OK as it is and it shouldn't have any impact on the behaviour of javascript on the page when you hit the back button.

ubeaut
7th June 2009, 08:15 AM
Recommended setting for here has always been "check for a new version every time".

munruben
8th June 2009, 10:13 AM
Recommended setting for here has always been "check for a new version every time".I can't find that option in Firefox. Anyone know where it is?

Big Shed
8th June 2009, 10:25 AM
John, I have a feeling that FF does that out of the box, at least mine does and I have never switched it on (to my knowledge:B)

munruben
9th June 2009, 08:10 AM
Thanks Fred. I'm not worried about it. When the box pops up when I hit the "back" button I just press F5 to refresh and its gone.

petersemple
9th June 2009, 03:45 PM
I can't find that option in Firefox. Anyone know where it is?

just found it. You need to type about : Config into the address bar. This brings up a whole bunch of config variables. Find browser.cache.check_doc_frequency

0= once per session
1 = check every time
2 = always load from the cache
3 (default) = automatic checking

Peter