By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,467 Members | 1,308 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,467 IT Pros & Developers. It's quick & easy.

User Control Cache

P: n/a
A.M
Hi,

I underestand that I can change a user-control's cache parameters and
timeout by attributes like this:

<%@ OutputCache Duration="60" VaryByParam="none" %>

Is it possible to define Cache parameters inside the c# code ? (during
runtime rather than design time)

Thanks,
Alan
Nov 18 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
you can use Cache.Add and configure the respective values.

Av.
"A.M" <IH*******@sapm123.com> wrote in message
news:uA*************@TK2MSFTNGP12.phx.gbl...
Hi,

I underestand that I can change a user-control's cache parameters and
timeout by attributes like this:

<%@ OutputCache Duration="60" VaryByParam="none" %>

Is it possible to define Cache parameters inside the c# code ? (during
runtime rather than design time)

Thanks,
Alan

Nov 18 '05 #2

P: n/a
A.M
My question is about page cache and fragmented page caching. I don't think
it has anything to do with Cache object!
"avnrao" <av*@newsgroups.com> wrote in message
news:es**************@TK2MSFTNGP10.phx.gbl...
you can use Cache.Add and configure the respective values.

Av.
"A.M" <IH*******@sapm123.com> wrote in message
news:uA*************@TK2MSFTNGP12.phx.gbl...
Hi,

I underestand that I can change a user-control's cache parameters and
timeout by attributes like this:

<%@ OutputCache Duration="60" VaryByParam="none" %>

Is it possible to define Cache parameters inside the c# code ? (during
runtime rather than design time)

Thanks,
Alan


Nov 18 '05 #3

P: n/a
Hi Allan,

I'm viewing the thread and find there is another new thread on the same
question in the queue which is titled as
Newsgroups: microsoft.public.dotnet.framework.aspnet

Subject:: Fragmented Cache

I've posted a reply regarding on this problem. I'd appreciate if you have a
look there. Also, if you feel it convenient that we continue to discuss in
that one, please feel free to followup there. Thanks.
Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #4

P: n/a
A.M
I will follow it there.

Thank you.

"Steven Cheng[MSFT]" <v-******@online.microsoft.com> wrote in message
news:CA**************@cpmsftngxa10.phx.gbl...
Hi Allan,

I'm viewing the thread and find there is another new thread on the same
question in the queue which is titled as
Newsgroups: microsoft.public.dotnet.framework.aspnet

Subject:: Fragmented Cache

I've posted a reply regarding on this problem. I'd appreciate if you have a look there. Also, if you feel it convenient that we continue to discuss in
that one, please feel free to followup there. Thanks.
Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

Get Preview at ASP.NET whidbey
http://msdn.microsoft.com/asp.net/whidbey/default.aspx

Nov 18 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.