[Mono-dev] header have been already sent ?
Bernhard Herzog
schwimmlehrer at gmail.com
Tue Sep 6 03:11:42 EDT 2005
>> I am also getting this exception in my application when I am trying to
>> access a protected page (see attached application). Instead of
>> redirecting
>> to the login page the exception is thrown and a "Unauthorized" page is
>> shown.
>
> Thanks for the test case, this is what I needed.
>
> I have committed a fix to SVN for accessing protected.aspx and it now
> takes me to the login.aspx page, could you please try the latest version
> from SVN?
Yes, it does work now. Thank you!
> I could not understand your other issues, could you provide a test case
> that fails?
1. login.aspx: Leave all fields blank and press "Login". A
RequiredFieldValidator with an ErrorMessage is attached to the name field,
but when submitting the form that message is not shown in the
ValidationSummary tag.
2. noerror.aspx: Any errors in the aspx (imports, syntax errors in scripts,
etc.) are not shown in the web browser (page loads forever in Firefox). This
is true also when global.asax contains an error.
3. global.asax: Load any page (e.g. session.aspx), then change global.asax.
A huge exception is thrown on the server because file has changed (does not
look good at least).
4. global.asax, session.aspx: This is something I hoped that it would be
fixed by a new application pipeline design, but it has not changed. It's
important for my application:
http://bugzilla.ximian.com/show_bug.cgi?id=71662
HttpContext and HttpApplication is still getting mixed up (at least when
requesting static files in the meantime), with the result that I cannot
access the session-id in the session_end event.
Bernhard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: login.aspx
Type: application/octet-stream
Size: 1491 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050906/b842e338/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: noerror.aspx
Type: application/octet-stream
Size: 333 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050906/b842e338/attachment-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: global.asax
Type: application/octet-stream
Size: 383 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050906/b842e338/attachment-0002.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: session.aspx
Type: application/octet-stream
Size: 761 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20050906/b842e338/attachment-0003.obj
More information about the Mono-devel-list
mailing list