HTTP Post Values

11 views
Skip to first unread message

ProNotion

unread,
Mar 27, 2008, 12:46:12 PM3/27/08
to ELMAH
Is it possible for the error report to include post values? Most of
the exceptions I receive would be a lot easier to debug if I knew the
user input which is normally the source of the problems I get.

TIA

ProNotion

unread,
May 12, 2008, 12:35:37 PM5/12/08
to ELMAH
Bump.

Atif Aziz

unread,
May 12, 2008, 2:57:53 PM5/12/08
to el...@googlegroups.com
> Is it possible for the error report to include post values?

Not yet, unless you build your own error reporting pages. A new class has been added to ELMAH recently (post 1.0 BETA 2) that makes this super easy. See ErrorLogDataSourceAdapter:

http://elmah.googlecode.com/svn/trunk/src/Elmah/ErrorLogDataSourceAdapter.cs

Using this class, you can create new UI for ELMAH almost entirely declarative markup and data-binding. ErrorLogDataSourceAdapter has been designed to serve ObjectDataSource introduced with ASP.NET 2.0. You can then use any list- or table-oriented control to data-bind to an ObjectDataSource instance to display the error information the way you'd like to see it.

Hope this helps,
Atif

Reply all
Reply to author
Forward
0 new messages