Page caching half-way-house conundrum...

G

Guest

Hi folks, I'm using C#, ASP.net and the .Net Framework 1.1 with VS 2003.

A quick overview of what I'm trying to do:
I have a windows authentication using Intranet application that has manager
names in a dropdown. A manager opens their browser clicks on the right
bookmark and and can choose their own name and then proceed to see their
portfolio of clients.
The reality is though that a there isn't a one-to-one mapping between people
in the real world and the logical manager name. A manager has assistants and
more than one of them may log on, choose their manager's name and then view
the portfolio.

the problem
I wish to cache the page output so that if more than one assistant chooses
their same manager the pages will be cached, but I can't rely on the whole
page being cached because I show who is logged into the application in a
little <div> at the top left side of the page, in other words if I didn't
want to show who is logged in I could just cache the entire page and that
would be a simple directive, but I somehow want to cache the data 'per
manager' chosen and still be able to show who is logged in..
I have a sense that I may need to use .ascx user controls for the data etc..
or play around with the 'vary by' clauses

any thoughts?, any articles?

Regards and many thanks in advance
CharlesA
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,817
Latest member
DicWeils

Latest Threads

Top