Link to home
Start Free TrialLog in
Avatar of archrajan
archrajan

asked on

Back Refresh Problems...

Hi
Here is what i am looking to do:

My goal is to refresh the page or load the page from server every time the page is called.

i want the contents to expire once they are loaded so that when they are reloaded it will not load from cache
something i saw in the wachovia online banking site.
when u click bank the page says the content expired blah blah and then reloads again..
ASKER CERTIFIED SOLUTION
Avatar of koppcha
koppcha
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of archrajan
archrajan

ASKER

Does that work in IE?
because i tried that and it did not work for me
SOLUTION
Avatar of bloodredsun
bloodredsun
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
again where do i add it bloodredsun and do u know if that works in IE?
>where do i add it
    You should add this at the beginning of the page.
Its not working for me in IE
First clear your cache in IE and then try this a you may be getting a prevously cached version before you entered these headers.
Which version of IE is that ?
Please check these link
http://support.microsoft.com/kb/q222064/
IE 6.
Yes i will try to clear my cache and then try again..
will let u know what happens
Then it should be fine once you clear your cache
Hmm nope :(
it loads the page in cache i can see it in the temporary files folder
Hmm strange

Try this
<meta http-equiv="pragma" content="no-cache"/>
<meta http-equiv="cache-control" content="no-cache"/>

i tried that too... it doesnt work...
i am not sure whats my problem
ur first code shud be placed in my jsp page right???
i placed it before everything else in my jsp
Yes it should be placed on top of JSP.can you try and see with another browser ?
I am trying it with firefox now...

hmm...
It works in firefox!
Not in IE.
I know that it doesn't work in IE5.0 but not sure about IE6.0
It should work in IE6.0 acoprding to this artical by microsoft
http://support.microsoft.com/default.aspx?scid=KB;EN-US;q234067
It does work in my colleagues machine and not mine.. weird...


Thanks for all ur help
much appreciated!
Oops bloodredsun i shud have split the points...
i forgot abt it..
i shall ask CS for help..

sorry and ur help is very much appreciated too
:-) thanks very much
Not a problem and sorry for the inconvenience...

Once again thanks both for the help
No Problem ..archana tell me how many points you would like me to give bloodresun i will do that :).Every effort should be rewarded..
And having just read the Community newsletter can I say congratulations Archana in your GENIUS cert in JavaScript....:-)
Thank you bloodredsun!
AnnieMod,
I apologize .I remember some one doing like that so only i suggested that.
Thanks a lot AnnieMod
:)

CONGRATULATIONS Archana
Thanks much! kopppcha!