I have the following requirement.
public void GetSubSite(SPWeb site)
{
site.AllowUnsafeUpdates = true;
SPList destinationList = site.Lists[TASKS];
SPWebCollection subSitesCollection = site.Webs;
foreach (SPWeb subSite in subSitesCollection)
{
//.....
Now I want to display the destinationList
as a web part, and every time the user loads the page, it should be populated freshly.
How can i achieve that with HTTPContext?