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: e:\html\eznz\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) +8704299
   System.Web.HttpResponse.Redirect(String url) +6
   ASP.status_aspx.SPage_Load() in e:\html\eznz\Webhost\microcomputers\cs\status.cs:18
   ASP.status_aspx.Page_Load(Object Src, EventArgs E) in e:\html\eznz\Webhost\microcomputers\status.aspx:14
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


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