Hi, i want to ask one thing.. i'm using sessions for the login and logout method and they are working fine. the thing is, i'm not involving web.config file to handle the return paths or allow or deny the users, the thing i want to ask is that, suppose, Default.aspx is one page which can accept Anonymous Users and as well as Registered Users after Login. There's another page, that can only accept Logged in User. The page redirects the anonymous user to login.aspx page. i know that the login page has been set to transfer the user to default.aspx after successfully logging in.
The thing i'm looking is that, if the user is transfered from default2.aspx to login.aspx, the user must return to default2.aspx after logging in instead of default.aspx. Can i achieve it thru c# coding or manually without web.config?
...
Go to the complete details ...