hi Pawel,
i don't think you can fiddle with the defaultRedirect querystring. however,
if you intercept the Application_Error event in global.asax (which happens
regardless of custom errors setting), this allows you to act before the user
gets redirected to the error page. you could put code in this event to
Redirect the user to /error.aspx?blahblah&NewParam=blah, and end the
response there. this is basically not using customErrors, so you might as
well turn it off. but since you want to override the default behaviour, it
is probably the best thing to do in your situation.
where does the extra parameter value come from? what is it used for?
hth
tim
--------------------------
blog:
http://tim.mackey.ie
<pa**********@gmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
Hajo,
I use <customeErrors> and I set the defaultRedirect attribute to my
error page.
Now I want to pass to this page additional number and I want to do this
using query string but I do not know how to add additional paramter to
automatically generated by asp.net url.
error.aspx?aspxerrorpath=/OnlineForms/Sandbox/Pawel/RaiseException.aspx
In short, how to change it into this:
error.aspx?aspxerrorpath=/OnlineForms/Sandbox/Pawel/RaiseException.aspx&parm1=as
thanks in advance for any info
Pawel Pabich