Link to home
Start Free TrialLog in
Avatar of jeffreyjseaman
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
Avatar of dj_alik
dj_alik

You are using asp:Login control?
ASKER CERTIFIED SOLUTION
Avatar of Deepak Lakkad
Deepak Lakkad
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jeffreyjseaman

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.