Click here to Skip to main content
15,116,253 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:

if (!(session["sessionName"])){
    NotLoggedInPH.visible = false;
    LoggedInPH.visible= true;
Updated 11-Oct-16 13:01pm

1 solution

This case was already discussed and solved. Check this,

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

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