Ωραίο το tracing! Μέσα στο παράθυρο του trace πήρα τα παρακάτω:
--- Starts Here ---
Ajax Call invoked at 11:56:53 μμ
Page Store Mode: NoStore
Form Data sent to server (655 characters):
------------------------------
__EVENTTARGET=__AJAX_AJAXCALLTIMER
__EVENTARGUMENT=
__AJAXCALL=true
__VIEWSTATE=dDwtMTQ0MzQwODQ5O3Q8cDxsPFVTRVI7PjtsPGdjYXBuaWFzOz4%2bO2w8aTwxPjs%2bO2w8dDw7bDxpPDE
%2bO2k8NT47aTw3Pjs%2bO2w8dDxwPDtwPGw8QWpheENhbGw7PjtsPGFzeW5jOz4%2bPjs7Pjt0PHA8O3A8bDxBamF4Q2FsbDs
%2bO2w8YXN5bmM7Pj4%2bOzs%2bO3Q8cDw7cDxsPEFqYXhDYWxsOz47bDxhc3luYzs2bPj47Oz47Pj47Pj47bDxjaGtSZWZyZXNo
Oz4%2bf0fvLf32ehyv787RxgJJoBzYfc4%3d
__CONTROL_FINGERPRINTS_ajaxPanel=A0F6DD3B;lblTime#2EAAB980;lstNames#44695121;txtMsg#6E01D585
__CONTROL_FINGERPRINTS_Ajaxpanel1=574A66;lblName#E753C80F;lnkSignIn#1505
__CONTROL_FINGERPRINTS_Ajaxpanel2=3BF7C6F0;txtInput#9C187596
chkRefresh=on
txtInput=asasas
------------------------------
Waiting response from server.....
Server responsed at 11:56:54 μμ
Javascript code received from server (4535 characters):
------------------------------
AJAXCbo.ExtendedSetHtmlOfElementScript("<span id=\"lblTime\">19/12 23:56:54</span>","lblTime$ajaxdest");
AJAXCbo.ExtendedSetHtmlOfElementScript("<textarea name=\"txtMsg\" readonly=\"readonly\" id=\"txtMsg\" ExcludeFromPost=\"true\" style=\"height:338px;width:563px;\">[19/12 23:54:21] <gcapnias>: asasas\r\n</textarea>","txtMsg$ajaxdest");
AJAXCbo.SetFieldScript("__CONTROL_FINGERPRINTS_ajaxPanel","A0F6DD3B;lblTime#370E50A;lstNames#44695121;txtMsg#65984D40");
AJAXCbo.SetFieldScript("__VIEWSTATE","dDwtMTQ0MzQwODQ5O3Q8cDxsPFVTRVI7PjtsPGdjYXBuaWFzOz4+O2w8aTwxPjs+O2w8dDw7bDxpPDE+O2k8Mz
47aTw1PjtpPDc+Oz47bDx0PHA8O3A8bDxBamF4Q2FsbDs+O2w8YXN5bmM7Pj4+Ozs+O3Q8cDxwPGw8Q2hlY2tlZDs+O2w8bzx0Pjs+P
js+Ozs+O3Q8cDw7cDxsPEFqYXhDYWxsOz47bDxhc3luYzs+Pj47Oz47dDxwPDtwPGw8QWpheENhbGw7PjtsPGFzeW5jOz4+Pjs7Pjs+Pj
s+PjtsPGNoa1JlZnJlc2g7Pj7H4f8EKCWkCG/qtAlg1/59zxJC8Q==");
'AJAX_LOADING_OK';
</pre></table></table></table></table></table></font></font></font></font></font></i></i></i></i></i></b></b></b>
</b></b></u></u></u></u></u><p> </p><hr>
<html>
<head>
<title>Server cannot modify cookies after HTTP headers have been sent.</title>
<style>
body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
pre {font-family:"Lucida Console";font-size: .9em}
.marker {font-weight: bold; color: black;text-decoration: none;}
.version {color: gray;}
.error {margin-bottom: 10px;}
.expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
</style>
</head>
<body bgcolor="white">
<span><H1>Server Error in '/cs' Application.<hr width=100% size=1 color=silver></H1>
<h2> <i>Server cannot modify cookies after HTTP headers have been sent.</i> </h2></span>
<font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
<b> Description: </b>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.
<br><br>
<b> Exception Details: </b>System.Web.HttpException: Server cannot modify cookies after HTTP headers have been sent.<br><br>
<b>Source Error:</b> <br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code>
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the
exception can be identified using the exception stack trace below.</code>
</td>
</tr>
</table>
<br>
<b>Stack Trace:</b> <br><br>
<table width=100% bgcolor="#ffffcc">
<tr>
<td>
<code><pre>
[HttpException (0x80004005): Server cannot modify cookies after HTTP headers have been sent.]
System.Web.HttpCookieCollection.Add(HttpCookie cookie) +104
Microsoft.ScalableHosting.Security.RoleManagerModule.OnLeave(Object source, EventArgs eventArgs) +548
System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +60
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87
</pre></code>
</td>
</tr>
</table>
<br>
<hr width=100% size=1 color=silver>
<b>Version Information:</b> Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300
</font>
</body>
</html>
<!--
[HttpException]: Server cannot modify cookies after HTTP headers have been sent.
at System.Web.HttpCookieCollection.Add(HttpCookie cookie)
at Microsoft.ScalableHosting.Security.RoleManagerModule.OnLeave(Object source, EventArgs eventArgs)
at System.Web.SyncEventExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
-->
------------------------------
--- Ends Here ---
Σωστό ότι δεν μπορεί να γράψει cookies, αφού οι HTTP headers έχουν ήδη σταλεί, αλλά τι μπορεί να ευθύνεται για αυτό; Πιθανώς το Authentication που είναι και αυτό httpModule και είναι πιο ψηλά από το MajicAjax; Και αυτό το έκανα, αλλά δεν βλέπω κάποια αλλαγή. Κάποια ιδέα;
George J.