Author: digish | Posted on: 11/15/2008 11:08:31 PM | Views : 247

Hi,

this is a kind of old thing.

I have some pages, which should not be viewed by the public. Only for the admin , it should be visible. What I have done for some pages is that, I have made a folder and given the redirection url in the webconfig in that folder.

The issue I am facing is that, I have omse pages which require root access, some bin files and all that. With out this access the tools are not getting loaded. So I need to protect them separately. I have given the :

if (Request.IsAuthenticated)
{

}
else
{
Response.Redirect("~/youknow/login.aspx");
}



the situation is like, once authenticated, I am not able to load the pages. from the login apge also. It is again asking for the login page. How to load the page once the login authentication is done.


thanking you in advance.

Digish ...

Go to the complete details ...