Last post Oct 22, 2007 08:21 AM by tayyab81
Jul 23, 2002 11:18 PM|Smyrnian|LINK
Jul 24, 2002 06:13 AM|Shannon|LINK
Jul 24, 2002 06:26 AM|Smyrnian|LINK
Jul 24, 2002 07:36 AM|Smyrnian|LINK
Jul 24, 2002 11:05 AM|ShadowDanser|LINK
Jul 24, 2002 11:11 AM|Smyrnian|LINK
Feb 05, 2004 07:15 PM|elevo|LINK
Nov 06, 2006 05:31 PM|officialboss|LINK
I was looking at the code for Rainbow and Ibuy portals and was wondering the same thing as the posts above, is the database queried on each request for each page?
How are the user controls cached? Could someone please explain this with some sample codes.
Oct 22, 2007 08:21 AM|tayyab81|LINK
even i have changed the Response.Redirect to Server.Transfer ... but still this is un-answerable yet ... or i couldn't find the reason yet for it as why portal settings are being loaded more then one time on each request?
Is it for the fact that Application_BeginRequest is being called on every web-event raised in the application?
then how many hidden web events are being raised as a result of a single clickin the portal. Since i m getting this line executed four times after one click:
Context.Items.Add("PortalSettings", new PortalSettings(tabIndex, tabId)); in Global.cs
The difference is where they the redirect is done:
In Response.Redirect("DesktopDefault.aspx") the client browser makes a second request to DesktopDefault.aspx
In Server.Transfer("DesktopDefault.aspx") the server terminates the current request and transfers the current request to DesktopDefault.aspx
If there is a reason why the asp.net team have used Response.Redirect, that can't justify two (huge) hits on the database! ;)