jeffreyjseaman
asked on
How to create Login and Logout status asp.net
Hi,
I setup my own login on vb.net page that relies on SQL Database. I'm using Session Variable to detect the username. I want to have a caption id at top that is login and logout when the user logs in. Have this on a site.master page.
How can I do this? Thanks
I setup my own login on vb.net page that relies on SQL Database. I'm using Session Variable to detect the username. I want to have a caption id at top that is login and logout when the user logs in. Have this on a site.master page.
How can I do this? Thanks
You are using asp:Login control?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Yes I am using the control but I'm not using Microsofts membership. I wrote my own login code. I want to use session("variable") if = username then display logout else have it display login.