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..
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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.
You should add this at the beginning of the page.
ASKER
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.
ASKER
IE 6.
Yes i will try to clear my cache and then try again..
will let u know what happens
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
ASKER
Hmm nope :(
it loads the page in cache i can see it in the temporary files folder
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"/>
Try this
<meta http-equiv="pragma" content="no-cache"/>
<meta http-equiv="cache-control"
ASKER
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
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 ?
ASKER
I am trying it with firefox now...
hmm...
hmm...
ASKER
It works in firefox!
Not in IE.
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
http://support.microsoft.com/default.aspx?scid=KB;EN-US;q234067
ASKER
It does work in my colleagues machine and not mine.. weird...
Thanks for all ur help
much appreciated!
Thanks for all ur help
much appreciated!
:-(
ASKER
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
i forgot abt it..
i shall ask CS for help..
sorry and ur help is very much appreciated too
:-) thanks very much
ASKER
Not a problem and sorry for the inconvenience...
Once again thanks both for the help
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....:-)
ASKER
Thank you bloodredsun!
AnnieMod,
I apologize .I remember some one doing like that so only i suggested that.
I apologize .I remember some one doing like that so only i suggested that.
ASKER
Thanks a lot AnnieMod
:)
CONGRATULATIONS Archana
CONGRATULATIONS Archana
ASKER
Thanks much! kopppcha!
ASKER
because i tried that and it did not work for me