Thank You DigiMortal for the reply.
But again won't there be a infinite loop?What if the requested path is ../AdminDashBoard.aspx and the user needs to be redireced to the same page?Sorry if I have misunderstood your answer.Might be sample code will help
The way I tackled the issue is by redirecting to a common page LandingDashBoard(Non-Existent).And checking if the request is for LandingDashBoard.aspx,then redirect to the specific dashboard page depending on the role.But this again suffers from the issue that if the user comes to know of the url of admin page then he will be able to browse it.
Is there a better way or better place to put in this logic??