User Control Cache

Discussion in 'ASP .Net' started by A.M, May 17, 2004.

  1. A.M

    A.M Guest

    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
     
    A.M, May 17, 2004
    #1
    1. Advertisements

  2. A.M

    avnrao Guest

    you can use Cache.Add and configure the respective values.

    Av.
    "A.M" <> wrote in message
    news:...
    > 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
    >
    >
     
    avnrao, May 17, 2004
    #2
    1. Advertisements

  3. A.M

    A.M Guest

    My question is about page cache and fragmented page caching. I don't think
    it has anything to do with Cache object!


    "avnrao" <> wrote in message
    news:...
    > you can use Cache.Add and configure the respective values.
    >
    > Av.
    > "A.M" <> wrote in message
    > news:...
    > > 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
    > >
    > >

    >
    >
     
    A.M, May 17, 2004
    #3
  4. 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
     
    Steven Cheng[MSFT], May 21, 2004
    #4
  5. A.M

    A.M Guest

    I will follow it there.

    Thank you.

    "Steven Cheng[MSFT]" <> wrote in message
    news:CAf$...
    > 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
    >
     
    A.M, May 21, 2004
    #5
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Tom Rowton
    Replies:
    2
    Views:
    924
    Tom Rowton
    Aug 1, 2003
  2. vatech1993
    Replies:
    4
    Views:
    5,904
    =?Utf-8?B?U8Opcmdpbw==?=
    Dec 11, 2004
  3. Replies:
    0
    Views:
    594
  4. Don
    Replies:
    3
    Views:
    5,702
    Karl Seguin
    Mar 11, 2005
  5. ABC
    Replies:
    1
    Views:
    2,844
    Larry
    Oct 4, 2005
  6. Mad Scientist Jr
    Replies:
    0
    Views:
    892
    Mad Scientist Jr
    Mar 22, 2006
  7. Jonathan Wood

    User Control to Control Other User Control

    Jonathan Wood, Jan 24, 2010, in forum: ASP .Net
    Replies:
    4
    Views:
    809
    Jonathan Wood
    Feb 2, 2010
  8. Yaron Cohen
    Replies:
    0
    Views:
    442
    Yaron Cohen
    Nov 19, 2003
Loading...