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) +11180242
   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.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


Version Information: Microsoft .NET Framework Version:2.0.50727.8762; ASP.NET Version:2.0.50727.8762