Click here to Skip to main content
15,922,512 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In home page login button once login page,i want automatically logout button in login place
please reply me this type examples and source code
Posted

If you are using single button as logout and login , just set the Text accordingly once the user logs in and logs out.

If its 2 different buttons, set the visibility true/false.

One more option is to use LoggedInTemplate with a logedinStatus control
 
Share this answer
 
Comments
member1431 23-Jan-14 1:22am    
Thank you
JoCodes 23-Jan-14 1:25am    
Welcome
Can you pls be clear on the requirement to help you out with..
*Do you need a login page?Logout page?
*What means by Homepage?After loging in it redirects to a homepage or ?
*Do you want the button text to be changed ?(from login to logout)
*Are you using Master page ?
 
Share this answer
 
Comments
member1431 23-Jan-14 1:18am    
for example gmail account am not used master page, in first page mentioned login button, after that once login next page i want logout button in login button place

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