Last post Jun 20, 2007 04:46 AM by kbird
Jun 20, 2007 01:15 AM|kbird|LINK
i am getting blank page when pages intercepted by my custom handler.
i have implemented entire pages of site with custom httphandler except the my login page. with custom httphandler's processrequest i will check if the user has the privilage to access the page , if so i will allow him to view the page. but i am getting blank
pages here, i have been scracting my head to find out what really goes wrong here.
here is my code..
public void ProcessRequest(HttpContext context)
string applicationPath = context.Request.ApplicationPath;
string pageRelativePath = context.Request.CurrentExecutionFilePath.Substring(applicationPath.Length+1);
if (pageRelativePath != "menu/FirstPage.aspx")
what i am i doing wrong here. basically it seems nothing to send to the browser.
Jun 20, 2007 04:46 AM|kbird|LINK
hi i found work around for the problem at following link. you need to add rewrite url before the page renders event.