Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > fragment page caching

Reply
Thread Tools

fragment page caching

 
 
quique
Guest
Posts: n/a
 
      10-30-2003
Hi
I,m gonna explain my scenario problem:

I've got an user control that i want to cache in diferent
pages attending to the value of a parameter x, to make t
possible i put the next directive in the definition of
the control
<%@ OutputCache Duration="50" VaryByParam="x"%>

I,ve got two pages (page1in and page2in) that submits to
a handler that proceses the incoming requests and
depending on a value it transfer to diferent pages, in
this scenario there are two pages that shows the user
control (page1out and page2out).

I'm gonna explain the behavior:
All submits have the same value for the parameter x (to
prove the caching behavior)

when i submit from page1in to page2out (passing through
the handler) the control shows ok,
when i submit from page2in to page2out (passing through
the handler) the control shows the cached values Ok,
but the problem is that when i submit from page1in to
page2out (this page has the same user control) the user
control does not have the cached values...

Can anybody explain me what is happening, because if the
page has the same user control an the parameter that
controls the caching policy is the same , why don`t reurn
cached values???? it's seems like when the handler
transfers to another page loses status information or ...
i don't know

anybody who can help me??? please

Thanks

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to cache part of a page without using fragment caching sam ASP .Net 1 03-07-2006 06:01 PM
Fragment caching ?? =?Utf-8?B?c2VyZ2UgY2FsZGVyYXJh?= ASP .Net 2 11-28-2005 10:23 AM
Globally turn page fragment caching off? DC ASP .Net 3 10-18-2005 02:51 PM
fragment caching problem =?Utf-8?B?Sm9l?= ASP .Net 1 07-15-2004 09:47 PM
Fragment Caching inside page caching? Troy Simpson ASP .Net 0 01-19-2004 11:57 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57