How to display requested querystrings along with aspxerrorpath

Lauratje

New Member
I have an web application in asp.net and in web.config its written \[code\]<customErrors mode="On" defaultRedirect="error.aspx" />\[/code\]Suppose i have a page \[code\]abcd.aspx\[/code\]. And I have send a request in browser as \[code\]abcd.aspx?p1=cvb&p2=dfg\[/code\]Now if any error occurs its redirecting to \[code\]error.aspx?aspxerrorpath=abcd.aspx.\[/code\]But i want to pass \[code\]p1\[/code\] and \[code\]p2\[/code\] as well as. i.e \[code\]error.aspx?aspxerrorpath=abcd.aspx&p1=cvb&p2=dfg\[/code\]How can i do that?
 
Back
Top