IE中的缓存问题 [英] Caching problems in IE

查看:59
本文介绍了IE中的缓存问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们如何处理IE中的缓存?


当我进行

更改时,我的系统似乎在Mozilla和Netscape中运行良好。


但是在IE中,当有人去过

网站之前,这些变化并没有带来。如果他们之前来过这里并且点击同一页面,则会显示旧的

页面,这将导致错误,因为新的更改尚未完成,例如正在创建会话cookie或

更新。


我知道你可以从web.config处理缓存,但为什么是IE

有问题而Mozilla没有?


谢谢,


Tom

How do we handle Caching in IE?

It seems that my system works fine in Mozilla and Netscape when I make
changes.

But in IE the changes are not brought across when someone has been to the
site before. If they have been here before and hit the same page, the old
page is rendered which will cause errors as things that are expected with
the new changes are not being done, such as session cookies being created or
updated.

I understand you can handle caching from the web.config, but why is IE
having a problem and Mozilla not?

Thanks,

Tom

推荐答案

也许你应该发一个你正在经历的代码样本


-

问候,

Alvin Bruney

[无耻作者插件]

带有.NET的Microsoft Office Web Components黑皮书

可在 www.lulu.com/owc

_________________________

" tshad" < TS ********** @ ftsolutions.com>在消息中写道

news:uv ************* @ TK2MSFTNGP10.phx.gbl ...
maybe you should post a code sample of what you are experiencing

--
Regards,
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
_________________________
"tshad" <ts**********@ftsolutions.com> wrote in message
news:uv*************@TK2MSFTNGP10.phx.gbl...
我们如何处理缓存IE浏览器?

当我进行
更改时,我的系统似乎在Mozilla和Netscape中运行正常。

但是在IE中,当有人拥有更改时,不会发生变化以前去过
网站。如果他们之前一直在这里并且点击同一页面,那么旧的
页面将被渲染,这将导致错误,因为新的更改没有完成预期的事情,例如正在创建的会话cookie
或更新。

我知道你可以从web.config处理缓存,但为什么IE有问题而Mozilla没有?

谢谢,

Tom
How do we handle Caching in IE?

It seems that my system works fine in Mozilla and Netscape when I make
changes.

But in IE the changes are not brought across when someone has been to the
site before. If they have been here before and hit the same page, the old
page is rendered which will cause errors as things that are expected with
the new changes are not being done, such as session cookies being created
or updated.

I understand you can handle caching from the web.config, but why is IE
having a problem and Mozilla not?

Thanks,

Tom



" Alvin Bruney [ASP.NET MVP]" < www.lulu.com/owc>在消息中写道

新闻:eC ************* @ TK2MSFTNGP15.phx.gbl ...
"Alvin Bruney [ASP.NET MVP]" <www.lulu.com/owc> wrote in message
news:eC*************@TK2MSFTNGP15.phx.gbl...
也许你应该发一个代码您正在体验的样本


我该怎么做?


问题是如果我去IE浏览器页面然后做一些

更改 - 如果我转到同一页面,我的浏览器将加载页面的旧版本

。如果旧页面正在寻找不存在的东西,那么我会收到错误。一旦我点击刷新按钮,页面的新

版本就会被加载并且工作正常。


很难显示它 - 就像这取决于你加载一个页面而他们我的

如果重新运行它会导致它失败。


我只有IE的那个问题。


Tom
-
问候,
Alvin Bruney
[无耻的作者插件]
带有.NET的Microsoft Office Web Components黑皮书
可在 www.lulu.com/owc上找到
_________________________

" tshad" < TS ********** @ ftsolutions.com>在消息中写道
新闻:uv ************* @ TK2MSFTNGP10.phx.gbl ...
maybe you should post a code sample of what you are experiencing
How would I do that?

The problem is just that if I go to a page in IE and then makes some
changes - If I go to that same page, my browser will load the old version of
the page. If the old page was looking for something that is not there any
more, I would get an error. As soon as I hit the refresh button, the new
version of the page gets loaded and it works fine.

It is hard to show it - as it is dependent on you loading a page and them my
making a change that would cause it to fail if you re-ran it.

I only have that problem with IE.

Tom
--
Regards,
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
_________________________
"tshad" <ts**********@ftsolutions.com> wrote in message
news:uv*************@TK2MSFTNGP10.phx.gbl...
我们如何在IE中处理缓存?

当我进行
更改时,我的系统似乎在Mozilla和Netscape中运行良好。

但是在IE中,当有人去过<时,不会发生变化。之前的网站。如果他们之前来过这里并且点击同一页面,则会显示旧页面,这会导致错误,因为新的更改没有完成预期的事情,例如会话cookie是
创建或更新。

我知道你可以从web.config处理缓存,但为什么IE
有问题而Mozilla没有?

谢谢,

Tom
How do we handle Caching in IE?

It seems that my system works fine in Mozilla and Netscape when I make
changes.

But in IE the changes are not brought across when someone has been to the
site before. If they have been here before and hit the same page, the
old page is rendered which will cause errors as things that are expected
with the new changes are not being done, such as session cookies being
created or updated.

I understand you can handle caching from the web.config, but why is IE
having a problem and Mozilla not?

Thanks,

Tom




确保IE设置为Check for newer version of存储的页面设置

到自动,这是默认值。出于某些奇怪的原因,人们有时会将此设置更改为从不。这会导致你描述的行为。

" tshad"写道:
make sure the IE setting for "Check for newer version of stored pages" is set
to "Automatically", which is the default. For some bizarre reason people
sometimes change this setting to "Never" which leads to the behavior you are
describing.
"tshad" wrote:
" Alvin Bruney [ASP.NET MVP]" < www.lulu.com/owc>在消息中写道
新闻:eC ************* @ TK2MSFTNGP15.phx.gbl ...
"Alvin Bruney [ASP.NET MVP]" <www.lulu.com/owc> wrote in message
news:eC*************@TK2MSFTNGP15.phx.gbl...
也许你应该发一个你的代码示例正在经历
maybe you should post a code sample of what you are experiencing



我该怎么做?

问题只是如果我去IE浏览器页面然后进行一些改动 - 如果我转到同一页面,我的浏览器将加载旧版本的页面。如果旧页面正在寻找更多的东西,我会收到错误。只要我点击刷新按钮,页面的新版本就会被加载并且工作正常。

很难显示它 - 因为它取决于你加载一个页面如果你重新运行它我会做出改变会导致它失败。

我只对IE有这个问题。

Tom



How would I do that?

The problem is just that if I go to a page in IE and then makes some
changes - If I go to that same page, my browser will load the old version of
the page. If the old page was looking for something that is not there any
more, I would get an error. As soon as I hit the refresh button, the new
version of the page gets loaded and it works fine.

It is hard to show it - as it is dependent on you loading a page and them my
making a change that would cause it to fail if you re-ran it.

I only have that problem with IE.

Tom


-
问候,
Alvin Bruney
[无耻的作者插件]
带有.NET的Microsoft Office Web Components黑皮书可在 www.lulu.com/owc 获取
_________________________
" tshad" < TS ********** @ ftsolutions.com>在消息中写道
新闻:uv ************* @ TK2MSFTNGP10.phx.gbl ...

--
Regards,
Alvin Bruney
[Shameless Author Plug]
The Microsoft Office Web Components Black Book with .NET
available at www.lulu.com/owc
_________________________
"tshad" <ts**********@ftsolutions.com> wrote in message
news:uv*************@TK2MSFTNGP10.phx.gbl...
我们如何在IE中处理缓存?

当我进行
更改时,我的系统似乎在Mozilla和Netscape中运行良好。

但是在IE中,当有人去过<时,不会发生变化。之前的网站。如果他们之前来过这里并且点击同一页面,则会显示旧页面,这会导致错误,因为新的更改没有完成预期的事情,例如会话cookie是
创建或更新。

我知道你可以从web.config处理缓存,但为什么IE
有问题而Mozilla没有?

谢谢,

Tom
How do we handle Caching in IE?

It seems that my system works fine in Mozilla and Netscape when I make
changes.

But in IE the changes are not brought across when someone has been to the
site before. If they have been here before and hit the same page, the
old page is rendered which will cause errors as things that are expected
with the new changes are not being done, such as session cookies being
created or updated.

I understand you can handle caching from the web.config, but why is IE
having a problem and Mozilla not?

Thanks,

Tom





这篇关于IE中的缓存问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆