Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
View Poll Results: Override can 'aspxerrorpath' variable using
Global.asax 1 100.00%
Web.config 0 0%
Don't know 0 0%
Voters: 1. You may not vote on this poll

 
Old June 29th, 2009, 05:40 PM
Registered User
 
Join Date: Jun 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Post How to switch/override the variable ‘aspxerrorpath’?

I am getting the problem of aspxerrorpath.

I dont want asp.net to validate this variable, even when I have custom page error enabled. If I write something like :

Code:
https://...../asd.aspx?aspxerrorpath=<script>alert(7);</script>
it throws an error and forward me to the aspx error page by default and not to one of my pre-defined custom error pages.

Why? How can I override the aspxerrorpath behaviour?
 
Old June 30th, 2009, 02:49 PM
Lee Dumond's Avatar
Wrox Author
 
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

I still don't understand why you are trying to do exactly. I don't think anyone else here does either, which is why no one is answering.
__________________
Visit my blog at http://leedumond.com
Follow me on Twitter: http://twitter.com/LeeDumond

Code:
if (this.PostHelpedYou)
{
   ClickThanksButton(); 
}





Similar Threads
Thread Thread Starter Forum Replies Last Post
Why would you override ToString()? chobo2 C# 2008 aka C# 3.0 16 November 11th, 2008 11:01 PM
Configuration Override Files Jeff Mason Visual Studio 2005 1 March 14th, 2007 08:52 AM
how to override equals() and hashcode() praveena Java Basics 3 March 14th, 2006 02:30 AM
To Override or Not to Override frresh BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 1 May 2nd, 2005 01:33 PM
ASP switch(variable){} and case: JohnD Classic ASP Basics 3 September 18th, 2004 09:05 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.