Re: Catch previous url in custom error page
From: Jason Zhou (jzhou_at_apx.com)
Date: 06/24/04
- Next message: Shock: "DataGrids, Paging, and Flaky"
- Previous message: Ireney Berezniak: "Re: User Control Postback"
- In reply to: Jason Zhou: "Catch previous url in custom error page"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 24 Jun 2004 15:28:52 -0700
If I don't use that custom error page, do I have anyway to get control even
the file or directory specified in the request does not exist on my website?
Jason
"Jason Zhou" <jzhou@apx.com> wrote in message
news:#$YcyajWEHA.4000@TK2MSFTNGP10.phx.gbl...
> Hi,
>
> I have a question on how to get the previous url in custom error file.
Here
> is what I am doing:
>
> If someone visit my website with a wrong file name or wrong directory
name,
> IIS will automatically show error 404 page, this was setup by default in
IIS
> web site properties/Custom Errors. I replaced that 404b.htm with my aspx
> file try to handle this error by myself. the problem is that I can not get
> previous url that user requested in my aspx page, I was thinking that
> urlreferer property, but it does not work either. Does anybody has
> experience on this issue before?
>
> Any suggestion will be appreciated.
>
> Jason
>
>
- Next message: Shock: "DataGrids, Paging, and Flaky"
- Previous message: Ireney Berezniak: "Re: User Control Postback"
- In reply to: Jason Zhou: "Catch previous url in custom error page"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|