Product Search:

 


Cannot redirect after HTTP headers have been sent.

Server Error in '/' Application.

Cannot redirect after HTTP headers have been sent.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: Cannot redirect after HTTP headers have been sent.

Source Error:


Line 16: {
Line 17: 	if(Session["card_id"] == null)
Line 18: 		Response.Redirect("login.aspx");
Line 19: 
Line 20: 	if(Request.QueryString["system"] == "1")

Source File: d:\html\webhost\microcomputers\cs\status.cs    Line: 18

Stack Trace:


[HttpException (0x80004005): Cannot redirect after HTTP headers have been sent.]
   System.Web.HttpResponse.Redirect(String url, Boolean endResponse, Boolean permanent) +11904488
   ASP.status_aspx.SPage_Load() in d:\html\webhost\microcomputers\cs\status.cs:18
   ASP.status_aspx.Page_Load(Object Src, EventArgs E) in d:\html\webhost\microcomputers\status.aspx:14
   System.Web.UI.Control.OnLoad(EventArgs e) +103
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1381


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2558.0