|
 |
asp_web_howto thread: transfer data when error occurs
Message #1 by "kostas lagos" <nkia@i...> on Wed, 4 Dec 2002 08:56:30
|
|
Hello everybody
I could use some help if possible..
Im handling a database error with the ASPError object through a custom
page.The problem is that i need in this error page tha data from the page
that generates the error..Any ideas how can i achieve this??I know that
the error page is called via a Server.Transfer command which means that
data are maintained somehow, but i cannot acquire them
Thanks
Lagos Kostas
Message #2 by "Ken Schaefer" <ken@a...> on Wed, 4 Dec 2002 21:34:21 +1100
|
|
What data?
the Request.Form and Request.QueryString collections? They are still
available.
If you are referring to local variables in the calling page, they are not
available.
Cheers
Ken
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: "kostas lagos" <nkia@i...>
Subject: [asp_web_howto] transfer data when error occurs
: Hello everybody
:
: I could use some help if possible..
:
: Im handling a database error with the ASPError object through a custom
: page.The problem is that i need in this error page tha data from the page
: that generates the error..Any ideas how can i achieve this??I know that
: the error page is called via a Server.Transfer command which means that
: data are maintained somehow, but i cannot acquire them
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Message #3 by "kosla78" <nkia@i...> on Wed, 4 Dec 2002 13:26:13 +0200
|
|
That data!!
You see..when i try to display one value from the Request.Form Collection in
my error page i get ..nothing!!
I know that local variables are not transfered
----- Original Message -----
From: "Ken Schaefer" <ken@a...>
To: "ASP Web HowTo" <asp_web_howto@p...>
Sent: Wednesday, December 04, 2002 12:34 PM
Subject: [asp_web_howto] Re: transfer data when error occurs
> What data?
>
> the Request.Form and Request.QueryString collections? They are still
> available.
>
> If you are referring to local variables in the calling page, they are not
> available.
>
> Cheers
> Ken
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> From: "kostas lagos" <nkia@i...>
> Subject: [asp_web_howto] transfer data when error occurs
>
>
> : Hello everybody
> :
> : I could use some help if possible..
> :
> : Im handling a database error with the ASPError object through a custom
> : page.The problem is that i need in this error page tha data from the
page
> : that generates the error..Any ideas how can i achieve this??I know that
> : the error page is called via a Server.Transfer command which means that
> : data are maintained somehow, but i cannot acquire them
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
>
Message #4 by "kosla78" <nkia@i...> on Wed, 4 Dec 2002 13:59:55 +0200
|
|
False Alarm!!!
I was using wrong name in the Request Command..
Yes, everything is transfered to the error page, indeed(..thanks to server
transfer, i guess???)
----- Original Message -----
From: "Ken Schaefer" <ken@a...>
To: "ASP Web HowTo" <asp_web_howto@p...>
Sent: Wednesday, December 04, 2002 12:34 PM
Subject: [asp_web_howto] Re: transfer data when error occurs
> What data?
>
> the Request.Form and Request.QueryString collections? They are still
> available.
>
> If you are referring to local variables in the calling page, they are not
> available.
>
> Cheers
> Ken
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> From: "kostas lagos" <nkia@i...>
> Subject: [asp_web_howto] transfer data when error occurs
>
>
> : Hello everybody
> :
> : I could use some help if possible..
> :
> : Im handling a database error with the ASPError object through a custom
> : page.The problem is that i need in this error page tha data from the
page
> : that generates the error..Any ideas how can i achieve this??I know that
> : the error page is called via a Server.Transfer command which means that
> : data are maintained somehow, but i cannot acquire them
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
>
|
|
 |