Author: Abdul Javed Khan | Posted on: 6/28/2008 2:56:04 AM | Views : 294

 
Hi
I am bulding asp.net application.
I have two saperate login form [one for site user(userlogin.aspx) & one for Administrator(adminlogin.aspx)].
In my application all the user forms are under "userpages" folder and all the admin forms are in root folder.


I have implement form authentication and i have set loginurl to "userlogin.aspx"..


Now whenever i try to open any user forms[placed under userpages
folder] by typing url in address bar..it redirects me to login form of
user...its ok


Now i am referring user forms in admin section also(means i have given references of some user forms in some admin forms)


Now whenever i login through adminuser.aspx...it takes me admin
pages..but when i open any admin page which contains the link to user
form and if i click the link it redirects me to userlogin.aspx..which i
don't want..
Means if i login through admin then it c ...

Go to the complete details ...