Posted on: 10/11/2012 1:30:01 AM | Views : 407

Hi all,
I got 2 master page in my website. When admin wanna login to admin page, they will need to login by click on the login button at MasterPage A. Master page A will get the Session[Username]. If the login is valid, it will redirect admin to the configuration which is nested with Master B. 
The problem is facing now is, i wan to check whether Session[Username] is null or not. The reason is i want to avoid user just copy my link and paste it or by pass the login page and direct go to the configuration page. How to get the Session[Username] that stored at MasterPage A from MasterPage B.

Thanks.
...

Go to the complete details ...