I have 3 types of user in my application. for that i have two different login pages when user login i am create Session on the login and i am using 3 master pages. like this: Master1, Master2, Master3 for usertype A and B login pages is login.aspx for usertype C i have login page loginC.aspx but master page i am using for these user are like this: for A and B Master pages's are Master1, Master2, Master3 for C Master pages are Master1, Master2, Master3 i am creating session UserType on each login page if session is not alive then all user are by default redirecting to login.aspx. i am not able to distinguish how i can differentiate login page's. even i tried with cookies : i created cookies on each login page's and read them on the master page and on master page i assign to the session. but not working. coz when i am redirecting to the my home page then home page Page-load method get call first then master page page-load. any suggestion or solution ....?? Thanks in advance...!!
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)