Click to See Complete Forum and Search --> : cacheing page excluding control


wesley
01-09-2006, 11:58 AM
Hi ,

i am designing a web page which has a control in it.

what i want to do is ,

i want to cache the whole page except the Control in it.

is their a way i can do this

wesley

chrismartz
01-10-2006, 06:41 PM
I guess I am not sure why you would want to cache the page.

wesley
01-11-2006, 03:57 AM
I have static information in the webpage.
but with the UserControl i have in the page some additional attributes are added to it when the user login,

becasue it is getting all the information from the cache it is not adding the attributes and the additional options added to the UserControl.

so the only solution i can think of in ASP.NET is to exclude the usercontrol from being Cached.
Or is their any other solution for it please let me know.

many thanks
wesley

Ubik
01-11-2006, 02:02 PM
You can tinker with iframes to do that - place all your static content into html files and use iframe to diplay that content and set them up to cache. Place your control into a server-side script page and don't cache it.