![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Hello Jason, I build a simple test web application in VS.NEt 2005, but I didn't find same problem. Here is my code in the customized handler: string targetUrl = "Test.aspx"; string sourceUrl = Request.Url.ToString() ; context.RewritePath(targetUrl, string.Empty, "url=" + sourceUrl, true); IHttpHandler handler = PageParser.GetCompiledPageInstance(targetUrl, null, context); handler.ProcessRequest(context); httpHandlers> section in web.config: httpHandlers <add verb="*" path="*.aspx" type="MyHandler"/ /httpHandlers Code for display time: Response.Write(System.DateTime.Now.ToLongTimeStrin g()); I test this on a windows server 2003. Is there any difference from your settings? Regards, Luke Zhang Microsoft Online Community Support ================================================== When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue. ================================================== (This posting is provided "AS IS", with no warranties, and confers no rights.) |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |