|
Re: How to detect refresh event in Browser [message #466601 is a reply to message #466555] |
Wed, 11 January 2006 21:02 |
Eclipse User |
|
|
|
Originally posted by: sunil_kamath.nohotspammail.com
Yetkin Oezkucur <yetkin.oezkucur@asg.com> wrote:
> Hi,
>
> We are using the Browser widget to present some information which is
> actually stoed in our database. The documents are prepared at runtime
> and stored into some temporary files in the temp folder. The browser
> widget shows these temporary files.
>
> We've also implemented a locationListener which detects hyperlink
> clicks to prepare the next document.
>
> As the user clicks refresh (or F5), he expects to see the actual
> values from the database. But our problem is that, we can not detect
> the refresh event in the browser. Do you have any idea how to do it?
>
Why not add meta-tags to prevent caching of your page?
<META HTTP-EQUIV="Expires" CONTENT="0">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
--
Sunil
|
|
|
|
Re: How to detect refresh event in Browser [message #466666 is a reply to message #466657] |
Thu, 12 January 2006 18:46 |
Eclipse User |
|
|
|
Originally posted by: sunil_kamath.nohotspammail.com
Yetkin Ozkucur <yetkin.oezkucur@asg.com> wrote:
> This won't work, becuase I am not using a web server here (no server
> side page). I am only using the file protocol
> My code is something like that:
>
I thought that meta-tags would be used by the browser to control caching.
Not by the server.
--
Sunil
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03083 seconds