在asp.net中缓存 [英] caching in asp.net

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

问题描述

我在缓存页面时遇到问题。

i have a problem in caching a page.

我在asp.net C#中创建了一个母版页有2个内容页面(A和B)。假设我在页面B中有一个文本框,我输入了一些文本。我现在转到页面A并再次返回到页面B.现在我希望我之前输入的文本出现在
页面B中。

i have created a master page in asp.net C# with 2 content pages(A and B). Say i have a textbox in page B and i enter some text.I now move to page A and again come back to page B. now I want that text which i entered previously to be present in page B.

我试过 这:<%@ OutputCache Duration =" 60"的VaryByParam = QUOT;无" %>

i tried  this : <%@ OutputCache Duration="60" VaryByParam="none" %>

但这仅在刷新页面时有效。

But this only works when the page is refreshed .

那么我将如何保留我的页面...?

So how will i retain my page...?

Thanx

推荐答案

我建议你在ASP.NET论坛上提出你的问题
http://forums.asp.net/37.aspx/1?C+

再见。


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

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