Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i making login ,logout form in master page where a login button when user click over there pop up a login form and then after login ,login button should change in logout button to logout.

What I have tried:

C#
if (!(session["sessionName"])){
    NotLoggedInPH.visible = false;
    LoggedInPH.visible= true;
}
Posted
Updated 11-Oct-16 12:01pm
v2

1 solution

This case was already discussed and solved. Check this,

[Solved] how to perform login logout on a single button[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900