Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Accessing Values of local variables in previous page when using custom error page

Thread Tools

Accessing Values of local variables in previous page when using custom error page

steve king
Posts: n/a

I have created a nice funky 500 - 100 error page which gives a nicer
error; happily loops through and supplies querysting information, all
headers, server variables..etc but it has a limitation.

On a normal error page you can always use a response.write then
response.end to look a the value of a local variable. What I would
LOVE would be to be able to loop through all the local variables (not
form or querystring, they're sorted) on the previous page and display
their values so a developer would see the complete state of the page
on the error page without having to use any on error statements.

Has anyone achieved this, I can't think of a way at all.

Many thanks anyone who gives it some thought.

Best regards,

Steve King
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can local function access local variables in main program? Sullivan WxPyQtKinter Python 10 11-08-2007 02:51 PM
Catch previous url in custom error page Jason Zhou ASP .Net 2 10-06-2006 07:07 AM
accessing variables in Custom Control, defined in page. =?Utf-8?B?ZG90bmV0dGVzdGVy?= ASP .Net 1 08-03-2005 07:22 PM
Issues with navigating to previous page and keeping custom page properties available Greg Krzeszkowski ASP .Net 3 03-03-2005 04:59 PM
printing out the values of variables in a previous stack frame using perl debugger Mark Wood-Patrick Perl Misc 0 07-30-2003 03:26 PM