Hello WebJumper,
I understand what you are saying, but it seems to me that there must be a way to send a response to the browser while or (prior to) processing the request. I am thinking that it must be in a asynchcronous manner.
I got the following code now but I get a message that the user control I am trying to load is not in the same application context as the request being process (I think)
Public Sub thebegining(ByVal s As Object, ByVal e As EventArgs)
Dim app As HttpApplication = CType(s, HttpApplication)
Dim mycontrol As UserControl = New UserControl()
mycontrol.LoadControl("splash.ascx")
app.Context.Current.Items.Add("Item1", mycontrol)
app.Context.Response.Write(mycontrol)
.
.
.
Again you are probably wrigth!
Anyways, If anyone can tell me why I am geting this error message...
[HttpException (0x80004005): The virtual path '/splash.ascx' maps to another application, which is not allowed.]
System.Web.HttpRequest.MapPath(String virtualPath, String baseVirtualDir, Boolean allowCrossAppMapping)
System.Web.UI.TemplateControlParser.CompileAndGetParserCacheItem(String virtualPath, String inputFile, HttpContext context) +99
System.Web.UI.TemplateControlParser.GetCompiledType(String virtualPath, String inputFile, HttpContext context)
System.Web.UI.UserControlParser.GetCompiledUserControlType(String virtualPath, String inputFile, HttpContext context)
System.Web.UI.TemplateControl.LoadControl(String virtualPath)
APLoad.splashcntl.thebegining(Object s, EventArgs e) in C:\Inetpub\wwwroot\APLoad\Classes\splashcntl.vb:24
System.Web.SyncEventExecutionStep.Execute() +60
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87
Thanks!!