Sure. You could assign a unique value to each user & ensure it's in the
querystring, cache the user control to varybyparam, then your user controls
would get cached per user.
You can also use outputcache & varybycustom & write your own getvarybycustom
function to vary by user (IP? unique ID in cookie? something
http://msdn.microsoft.com/library/de...tputCache.asp).
You could also cache data/etc for the user in session, & just rebuild the
control from that data each time. You didn't say where the performance issue
was, so session storage may not be appropriate.
--
Ben Strackany
www.developmentnow.com
<a href="http://www.developmentnow.com">dn</a>
"Fabio Gouw" <FabioGouw (AT) discussions (DOT) microsoft.com> wrote
Quote:
Hello,
can I have the User Controls cached by each user? I have an dinamic menu
that's is built for each user, and the code for its filling is executed
every
postback, so I'd like to put it in cache, but each user must have his/her
own
User Control cached.
Is it possible?
Thanks |